[PATCH] SwapMig: Drop unused pages immediately
authorChristoph Lameter <clameter@sgi.com>
Sun, 8 Jan 2006 09:00:54 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:42 +0000 (20:12 -0800)
commitee27497df36823f2793212cad0997c044eb0e1eb
tree854dded3b0277b0962b3c9a39c9cdb446654154b
parent1480a540c98525640174a7eadd712378fcd6fd63
[PATCH] SwapMig: Drop unused pages immediately

Drop unused pages immediately

If a page is encountered that is only referenced by the migration code then
there is no reason to swap or migrate the page.  Release the page by calling
move_to_lru().

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