From: Wu Fengguang Date: Tue, 16 Jun 2009 22:32:29 +0000 (-0700) Subject: vmscan: cleanup the scan batching code X-Git-Tag: v2.6.31-rc1~299^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e08a369ee10b361ac1cdcdf4fabd420fd08beb3;p=pandora-kernel.git vmscan: cleanup the scan batching code The vmscan batching logic is twisting. Move it into a standalone function nr_scan_try_batch() and document it. No behavior change. Signed-off-by: Wu Fengguang Acked-by: Rik van Riel Cc: Nick Piggin Cc: Christoph Lameter Acked-by: Peter Zijlstra Acked-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed