]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Direct Migration V9: migrate_pages() extension
authorChristoph Lameter <clameter@sgi.com>
Wed, 1 Feb 2006 11:05:38 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:16 +0000 (08:53 -0800)
commita48d07afdf18212de22b959715b16793c5a6e57a
tree36d5963c29ceb5c2f6df53036cef5c0d30383dbf
parentb16664e44c54525be89dc07ad15a13b4eeec5634
[PATCH] Direct Migration V9: migrate_pages() extension

Add direct migration support with fall back to swap.

Direct migration support on top of the swap based page migration facility.

This allows the direct migration of anonymous pages and the migration of file
backed pages by dropping the associated buffers (requires writeout).

Fall back to swap out if necessary.

The patch is based on lots of patches from the hotplug project but the code
was restructured, documented and simplified as much as possible.

Note that an additional patch that defines the migrate_page() method for
filesystems is necessary in order to avoid writeback for anonymous and file
backed pages.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/vm/page_migration [new file with mode: 0644]
include/linux/rmap.h
include/linux/swap.h
mm/rmap.c
mm/vmscan.c