diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-09-25 23:31:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:48:50 -0700 |
commit | 3d99cfb5f46191fc68f1343feeb2cf835001f7d7 (patch) | |
tree | d679d78368b775e5f2dc4f94cc56e1512d663f86 /mm/migrate.c | |
parent | 9b819d204cf602eab1a53a9ec4b8d2ca51e02a1d (diff) | |
download | kernel-common-3d99cfb5f46191fc68f1343feeb2cf835001f7d7.tar.gz kernel-common-3d99cfb5f46191fc68f1343feeb2cf835001f7d7.tar.bz2 kernel-common-3d99cfb5f46191fc68f1343feeb2cf835001f7d7.zip |
[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>
Diffstat (limited to 'mm/migrate.c')
-rw-r--r-- | mm/migrate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index 3f1e0c2c942c..6196f45c5263 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -741,7 +741,9 @@ static struct page *new_page_node(struct page *p, unsigned long private, *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); } /* |