From: Christoph Lameter Processors on memoryless nodes must be able to fall back to remote nodes in order to get a profiling buffer. This may lead to excessive NUMA traffic but I think we should allow this rather than failing. Signed-off-by: Christoph Lameter Acked-by: Nishanth Aravamudan Acked-by: Lee Schermerhorn Acked-by: Bob Picco Cc: KAMEZAWA Hiroyuki Cc: Mel Gorman Signed-off-by: Andrew Morton --- kernel/profile.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/profile.c~memoryless-nodes-allow-profiling-data-to-fall-back-to-other-nodes kernel/profile.c --- a/kernel/profile.c~memoryless-nodes-allow-profiling-data-to-fall-back-to-other-nodes +++ a/kernel/profile.c @@ -346,7 +346,7 @@ static int __devinit profile_cpu_callbac per_cpu(cpu_profile_flip, cpu) = 0; if (!per_cpu(cpu_profile_hits, cpu)[1]) { page = alloc_pages_node(node, - GFP_KERNEL | __GFP_ZERO | GFP_THISNODE, + GFP_KERNEL | __GFP_ZERO, 0); if (!page) return NOTIFY_BAD; @@ -354,7 +354,7 @@ static int __devinit profile_cpu_callbac } if (!per_cpu(cpu_profile_hits, cpu)[0]) { page = alloc_pages_node(node, - GFP_KERNEL | __GFP_ZERO | GFP_THISNODE, + GFP_KERNEL | __GFP_ZERO, 0); if (!page) goto out_free; _