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!

    Andrew, in 2.6.6 shrink_all_memory() does not work if swappiness ==
    0. shrink_all_memory() calls balance_pgdat(), that calls
    shrink_zone(), and that calls refill_inactive_zone(), which looks at
    swappiness.

    Additional parameter to all these calls neutralizing swappiness would
    help, as would temporarily setting swappiness to 100 in
    shrink_all_memory. Is there a less ugly solution?
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.023 / U:29.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site