Messages in this thread | | | Date | Sat, 29 May 2004 17:48:53 +1000 | From | Nigel Cunningham <> | Subject | Re: swappiness=0 makes software suspend fail. |
| |
Hi.
Pavel Machek wrote: >>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
This applies to suspend2 for 2.6 as well. I recently changed to using the same routines to free memory.
Nigel
-- Nigel & Michelle Cunningham C/- Westminster Presbyterian Church Belconnen 61 Templeton Street, Cook, ACT 2614. +61 (2) 6251 7727(wk); +61 (2) 6254 0216 (home)
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |