]> git.baikalelectronics.ru Git - kernel.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)
commitba5acb08c90ad7aa22d1907a7e92345468b2e373
tree457ab54f402b471c5158e8b361d059e88ab8cd62
parent2969c9025034390c4a62047f0daebbde88009be6
[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