Re: swap and 2.4.20

From: Maciej Zenczykowski
Date: Sun Oct 05 2003 - 09:06:34 EST


> I remember Linus ranting about swap at one point, but it's been a while.
>
> What is the current state of the need for swap on a linux kernel, 2.4.20 in
> specific. Does it need *any*, given some reasonable amount of RAM? What
> constitutes a reasonable of RAM?
>
> My recent experience suggest none is needed.

I have a different - slightly academic - question. Is it possible to turn
off swapping? (not turn off swap) Ie. to prevent the kernel from
unloading paged-in read-only executables? I realise this is a tough
question with mmap being used for many other things besides executables...

Thanks,
MaZe.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/