[PATCH] Direct Migration V9: upgrade MPOL_MF_MOVE and sys_migrate_pages()
authorChristoph Lameter <clameter@sgi.com>
Wed, 1 Feb 2006 11:05:40 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:16 +0000 (08:53 -0800)
commit7e2ab150d1b3b286a4c864c60a549b2601777b63
tree9d8f4f3af382a043ada81f75c324e76dff9f0043
parenta3351e525e4768c29aa5d22ef59b5b38e0361e53
[PATCH] Direct Migration V9: upgrade MPOL_MF_MOVE and sys_migrate_pages()

Modify policy layer to support direct page migration

- Add migrate_pages_to() allowing the migration of a list of pages to a a
  specified node or to vma with a specific allocation policy in sets of
  MIGRATE_CHUNK_SIZE pages

- Modify do_migrate_pages() to do a staged move of pages from the source
  nodes to the target nodes.

Signed-off-by: Paul Jackson <pj@sgi.com>
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/mempolicy.c