diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2006-02-01 06:05:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 11:53:15 -0500 |
commit | 52a8363eae3872af15880292ff4e06d0fab36986 (patch) | |
tree | 9ac9d0f00cc2e35e5d95c7be77874477e25847b4 /kernel | |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions