headsup: swap_pager.c

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Aug 2 06:46:49 PDT 2003


In message <20030802221832.S41132-100000 at hewey.af.speednet.com.au>, Andy Farkas
 writes:
>Poul-Henning Kamp wrote:
>
>> Setting NSWAPDEV=1 is not an option, because that means that
>> administrators which find themselves in a pinch can not add another
>> swap-space to ride off a storm.
>
>You still are not explaining why the current code is wrong. You say
>"bogo-vnode". Please explain what that means.

A bogos vnode.

>What does "in a pinch" mean??

That for instance you are running out of swap, if NSWAPDEV==1 you cannot
add another swapdev because the one and only slot is occupied (and the
device is filled too).

>What do those numbers in kern.malloc mean??

That the corresponding amount of RAM is unchangably occupied by a table
which is 3/4 empty and therefore nothing else can use that RAM productively.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list