]> git.baikalelectronics.ru Git - kernel.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)
commitaacf73dde4e141795e7e15f539aaf09275cb4339
tree7d794e0997e935033354f3c3ffd81c1f31354db3
parent8d155bbf0d1b523262c84c52d546b308ec9afdf6
[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