]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] vmscan: skip reclaim_mapped determination if we do not swap
authorChristoph Lameter <clameter@engr.sgi.com>
Sun, 12 Feb 2006 01:55:55 +0000 (17:55 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 12 Feb 2006 05:41:11 +0000 (21:41 -0800)
commit2903fb1694dcb08a3c1d9d823cfae7ba30e66cd3
tree7d794e0997e935033354f3c3ffd81c1f31354db3
parent072eaa5d9cc3e63f567ffd9ad87b36194fdd8010
[PATCH] vmscan: skip reclaim_mapped determination if we do not swap

This puts the variables and the way to get to reclaim_mapped in one block.
And allows zone_reclaim or other things to skip the determination (maybe
this whole block of code does not belong into refill_inactive_zone()?)

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