From: KAMEZAWA Hiroyuki Date: Tue, 16 Jun 2009 22:33:24 +0000 (-0700) Subject: mm: fix lumpy reclaim lru handling at isolate_lru_pages X-Git-Tag: v2.6.31-rc1~299^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee993b135ec75a93bd5c45e636bb210d2975159b;p=pandora-kernel.git mm: fix lumpy reclaim lru handling at isolate_lru_pages At lumpy reclaim, a page failed to be taken by __isolate_lru_page() can be pushed back to "src" list by list_move(). But the page may not be from "src" list. This pushes the page back to wrong LRU. And list_move() itself is unnecessary because the page is not on top of LRU. Then, leave it as it is if __isolate_lru_page() fails. Reviewed-by: Minchan Kim Reviewed-by: KOSAKI Motohiro Acked-by: Mel Gorman Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed