Commit 4199cfa02b982f4c739e8a6a304d6a40e1935d25
Committed by
Linus Torvalds
1 parent
2dca53a9da
Exists in
master
and in
20 other branches
Memoryless nodes: Allow profiling data to fall back to other nodes
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 <clameter@sgi.com> Acked-by: Nishanth Aravamudan <nacc@us.ibm.com> Acked-by: Lee Schermerhorn <lee.schermerhorn@hp.com> Acked-by: Bob Picco <bob.picco@hp.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Mel Gorman <mel@skynet.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
kernel/profile.c
... | ... | @@ -346,7 +346,7 @@ |
346 | 346 | per_cpu(cpu_profile_flip, cpu) = 0; |
347 | 347 | if (!per_cpu(cpu_profile_hits, cpu)[1]) { |
348 | 348 | page = alloc_pages_node(node, |
349 | - GFP_KERNEL | __GFP_ZERO | GFP_THISNODE, | |
349 | + GFP_KERNEL | __GFP_ZERO, | |
350 | 350 | 0); |
351 | 351 | if (!page) |
352 | 352 | return NOTIFY_BAD; |
... | ... | @@ -354,7 +354,7 @@ |
354 | 354 | } |
355 | 355 | if (!per_cpu(cpu_profile_hits, cpu)[0]) { |
356 | 356 | page = alloc_pages_node(node, |
357 | - GFP_KERNEL | __GFP_ZERO | GFP_THISNODE, | |
357 | + GFP_KERNEL | __GFP_ZERO, | |
358 | 358 | 0); |
359 | 359 | if (!page) |
360 | 360 | goto out_free; |