From: Christoph Lameter Date: Wed, 1 Feb 2006 11:05:28 +0000 (-0800) Subject: [PATCH] mm: improve function of sc->may_writepage X-Git-Tag: v2.6.16-rc2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52a8363eae3872af15880292ff4e06d0fab36986;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed