Re: swappiness=0 makes software suspend fail.

From: Pavel Machek
Date: Fri May 28 2004 - 17:04:40 EST


Hi!

> With swappiness at the default (60), software suspend frees all the memory it
> needs. With swappiness at 0, software suspend basically doesn't free any
> memory, and the suspend gets aborted.
>
> Just thought I'd mention it. Tried on 2.6.6...

Uh, yes, right.

That explains why some people see bad problems I could not
reproduce. Thanks a lot.

Stefan, we may want to do echo 100 > /proc/sys/vm/swappiness in
suspend script...

Pavel
--
934a471f20d6580d5aad759bf0d97ddc
-
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/