commit | 52a8363eae3872af15880292ff4e06d0fab36986 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <clameter@engr.sgi.com> | Wed Feb 01 03:05:28 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Feb 01 08:53:15 2006 -0800 |
tree | 9ac9d0f00cc2e35e5d95c7be77874477e25847b4 | |
parent | ce2ea89ba101d976907128441ba3aca72a8804b9 [diff] |
[PATCH] mm: improve function of sc->may_writepage Make sc->may_writepage control the writeout behavior of shrink_list. Remove the laptop_mode trick from shrink_list and instead set may_writepage in try_to_free_pages properly. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>