From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <20070618192546.235770839@sgi.com> References: <20070618191956.411091458@sgi.com> Date: Mon, 18 Jun 2007 12:20:05 -0700 From: clameter@sgi.com Subject: [patch 09/10] Memoryless node: Allow profiling data to fall back to other nodes Content-Disposition: inline; filename=memless_profile Sender: owner-linux-mm@kvack.org Return-Path: To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, Nishanth Aravamudan List-ID: 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 Index: linux-2.6.22-rc4-mm2/kernel/profile.c =================================================================== --- linux-2.6.22-rc4-mm2.orig/kernel/profile.c 2007-06-13 23:36:42.000000000 -0700 +++ linux-2.6.22-rc4-mm2/kernel/profile.c 2007-06-13 23:36:55.000000000 -0700 @@ -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; -- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org