diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2006-02-01 12:05:28 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 17:53:15 +0100 |
commit | 52a8363eae3872af15880292ff4e06d0fab36986 (patch) | |
tree | 9ac9d0f00cc2e35e5d95c7be77874477e25847b4 /kernel | |
parent | [PATCH] GFP_ZONETYPES: calculate from GFP_ZONEMASK (diff) | |
download | linux-52a8363eae3872af15880292ff4e06d0fab36986.tar.xz linux-52a8363eae3872af15880292ff4e06d0fab36986.zip |
[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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions