vmscan: remove all_unreclaimable scan control
authorJohannes Weiner <hannes@cmpxchg.org>
Mon, 24 May 2010 21:32:40 +0000 (14:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:00 +0000 (08:07 -0700)
commit0aeb2339e54e40d0788a7017ecaeac7f5271e262
tree66889ce248257e7e24c998a22994ccef222e4622
parent142762bd8d8c46345e79f0f68d3374564306972f
vmscan: remove all_unreclaimable scan control

This scan control is abused to communicate a return value from
shrink_zones().  Write this idiomatically and remove the knob.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c