Re: swappiness=0 makes software suspend fail.

From: Nigel Cunningham
Date: Sat May 29 2004 - 04:10:19 EST


Hi.

Stuart Young wrote:
On Sat, 29 May 2004 07:56, Pavel Machek wrote:

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


Really, you should save that value somewhere and then restore it after suspend, or those people who do use /proc/sys/vm/swappiness will likely complain about it (ie: me).

Yes. This doesn't need to be done by the script. I'll change suspend2 so it saves and restores the value.

Nigel
--
Nigel & Michelle Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (417) 100 574 (mobile)

After homosexuality, they'll be arguing paedophilia is normal.
-
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/