From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id 765FF6B01FF for ; Fri, 16 Apr 2010 12:47:10 -0400 (EDT) Date: Fri, 16 Apr 2010 11:46:51 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH 2/8] numa: x86_64: use generic percpu var numa_node_id() implementation In-Reply-To: <20100415173003.8801.48519.sendpatchset@localhost.localdomain> Message-ID: References: <20100415172950.8801.60358.sendpatchset@localhost.localdomain> <20100415173003.8801.48519.sendpatchset@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Lee Schermerhorn Cc: linux-mm@kvack.org, linux-numa@vger.kernel.org, Tejun Heo , Mel Gorman , Andi@domain.invalid, Kleen@domain.invalid, andi@firstfloor.org, Nick Piggin , David Rientjes , eric.whitney@hp.com, Andrew Morton , KAMEZAWA Hiroyuki List-ID: On Thu, 15 Apr 2010, Lee Schermerhorn wrote: > x86 arch specific changes to use generic numa_node_id() based on > generic percpu variable infrastructure. Back out x86's custom > version of numa_node_id() > > Signed-off-by: Lee Schermerhorn > [Christoph's signoff here?] Hmmm. Its mostly your work now. Maybe Reviewed-by will be ok? > @@ -809,7 +806,7 @@ void __cpuinit numa_set_node(int cpu, in > per_cpu(x86_cpu_to_node_map, cpu) = node; > > if (node != NUMA_NO_NODE) > - per_cpu(node_number, cpu) = node; > + per_cpu(numa_node, cpu) = node; > } Maybe provide a generic function to set the node for cpu X? -- 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