mm: extract do_pages_move() out of sys_move_pages()
authorBrice Goglin <Brice.Goglin@inria.fr>
Sun, 19 Oct 2008 03:27:17 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:33 +0000 (08:52 -0700)
commit5e9a0f023bee02bfb94e08590d998660c01f5a49
tree3cd2131f12a09cc9c84c31f99375256148e400fd
parent2f007e74bb85b9fc4eab28524052161703300f1a
mm: extract do_pages_move() out of sys_move_pages()

To prepare the chunking, move the sys_move_pages() code that is used when
nodes!=NULL into do_pages_move().  And rename do_move_pages() into
do_move_page_to_node_array().

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c