Re: OOM killer gripe (was Re: What still uses the block layer?)

From: David Newall
Date: Tue Oct 16 2007 - 02:22:24 EST


Nick Piggin wrote:
On Monday 15 October 2007 19:52, Rob Landley wrote:
On Monday 15 October 2007 8:37:44 am Nick Piggin wrote:
You really shouldn't configure
so much [swap] unless you do want the kernel to actually use it all, right?
Two words: "Software suspend". I've actually been thinking of increasing
it on the next install...

Kernel doesn't know that you want to use it for suspend but not
regular swapping, unfortunately.

Couldn't you mount swap before suspend and unmount it after resume?
-
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/