[PATCH] Move page migration related functions near do_migrate_pages()
authorChristoph Lameter <clameter@sgi.com>
Sun, 8 Jan 2006 09:01:04 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:44 +0000 (20:12 -0800)
commit6ce3c4c0ff62ca6391019b7832fb41a7f28b9e26
tree44801fafc41a45368de7a8e79306d57a04735f1d
parent48fce3429df84a94766fbbc845fa8450d0715b48
[PATCH] Move page migration related functions near do_migrate_pages()

Group page migration functions in mempolicy.c

Add a forward declaration for migrate_page_add (like gather_stats()) and use
our new found mobility to group all page migration related function around
do_migrate_pages().

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c