Re: dynamic swapspace

Bernd Eckenfels (ecki@lina.inka.de)
Sat, 02 Oct 1999 06:50:27 +0200


In article <37F148F8.8620A092@kalifornia.com> you wrote:
> nope. swap daemon locks pages on init, doesn't get swapped out so doesn't
> block. the swap daemon shouldn't grow in size in the first place. should
> something happen that consumes all available memory, the OOM handler exists
> to free memory. reboot not required.

Why dont you simply use the usermode swap daemon which adds swap files as
needed. Its a simple shell script checking the number of free pages and adds
swap files as needed. No dead locks because of silly reserved atomic
buffers.

Greetings
Bernd

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