]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9903d86a325396c3efe71ee826748b08c80474f7
treeb13a46e3d7050fa92e390b3374910882ae867254
parentd1a065084d99327b80ea7446915692120b11ae68
[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