[PATCH] Thin out scan_control: remove nr_to_scan and priority
authorChristoph Lameter <clameter@engr.sgi.com>
Wed, 22 Mar 2006 08:08:18 +0000 (00:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:53:59 +0000 (07:53 -0800)
commit8695949a1d7c99e039595db00af8e0fe4722307d
treeac845804aeabdeb19963b5907df921cb9ba8839e
parenta07fa3944bf924881450884224cbb2f1269cb9fa
[PATCH] Thin out scan_control: remove nr_to_scan and priority

Make nr_to_scan and priority a parameter instead of putting it into scan
control.  This allows various small optimizations and IMHO makes the code
easier to read.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c