]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite62209f774f895277e250f048db12e2a3de368ce
tree9d8f4f3af382a043ada81f75c324e76dff9f0043
parentba5acb08c90ad7aa22d1907a7e92345468b2e373
[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