Messages in this thread | | | Date | Fri, 28 May 2004 23:56:42 +0200 | From | Pavel Machek <> | Subject | Re: swappiness=0 makes software suspend fail. |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |