From: Christoph Lameter If the user specified a node where we should move the page to then we really do not want any other node. Signed-off-by: Christoph Lameter Cc: Andy Whitcroft Cc: Mel Gorman Signed-off-by: Andrew Morton --- mm/migrate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN mm/migrate.c~sys_move_pages-do-not-fall-back-to-other-nodes mm/migrate.c --- a/mm/migrate.c~sys_move_pages-do-not-fall-back-to-other-nodes +++ a/mm/migrate.c @@ -745,7 +745,9 @@ static struct page *new_page_node(struct *result = &pm->status; - return alloc_pages_node(pm->node, GFP_HIGHUSER, 0); + return alloc_pages_node(pm->node, + GFP_HIGHUSER | __GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY, + 0); } /* _