lkml.org 
[lkml]   [2004]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.104 / U:26.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site