]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Direct Migration V9: remove_from_swap() to remove swap ptes
authorChristoph Lameter <clameter@sgi.com>
Wed, 1 Feb 2006 11:05:39 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:16 +0000 (08:53 -0800)
commita3351e525e4768c29aa5d22ef59b5b38e0361e53
tree457ab54f402b471c5158e8b361d059e88ab8cd62
parenta48d07afdf18212de22b959715b16793c5a6e57a
[PATCH] Direct Migration V9: remove_from_swap() to remove swap ptes

Add remove_from_swap

remove_from_swap() allows the restoration of the pte entries that existed
before page migration occurred for anonymous pages by walking the reverse
maps.  This reduces swap use and establishes regular pte's without the need
for page faults.

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