vmscan: page_check_references(): check low order lumpy reclaim properly
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Mon, 24 May 2010 21:32:37 +0000 (14:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:00 +0000 (08:07 -0700)
commit5f53e76299ceebd68bdf9495e8ff80db77711236
tree2ecb8324a6593a49868161d85511cc14d474900a
parentbf8abe8b926f7546eb763fd2a088fe461dde6317
vmscan: page_check_references(): check low order lumpy reclaim properly

If vmscan is under lumpy reclaim mode, it have to ignore referenced bit
for making contenious free pages.  but current page_check_references()
doesn't.

Fix it.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c