[PATCH] Updates for page migration
authorChristoph Lameter <clameter@engr.sgi.com>
Fri, 10 Feb 2006 09:51:15 +0000 (01:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Feb 2006 16:13:13 +0000 (08:13 -0800)
commit418aade459f03318defd18ef0b11981a63bd81b0
treeb13a46e3d7050fa92e390b3374910882ae867254
parent8977d929e49021d9a6e031310aab01fa72f849c2
[PATCH] Updates for page migration

This adds some additional comments in order to help others figure out how
exactly the code works.  And fix a variable name.

Also swap_page does need to ignore all reference bits when unmapping a
page.  Otherwise we may have to repeatedly unmap a frequently touched page.
So change the try_to_unmap parameter to 1.

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