Skip to content

Commit 3d99cfb

Browse files
Christoph LameterLinus Torvalds
authored andcommitted
[PATCH] sys_move_pages: Do not fall back to other nodes
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 <clameter@sgi.com> Cc: Andy Whitcroft <apw@shadowen.org> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 9b819d2 commit 3d99cfb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎mm/migrate.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,9 @@ static struct page *new_page_node(struct page *p, unsigned long private,
741741

742742
*result = &pm->status;
743743

744-
return alloc_pages_node(pm->node, GFP_HIGHUSER, 0);
744+
return alloc_pages_node(pm->node,
745+
GFP_HIGHUSER | __GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY,
746+
0);
745747
}
746748

747749
/*

0 commit comments

Comments
 (0)