Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753810AbbGNVbY (ORCPT ); Tue, 14 Jul 2015 17:31:24 -0400 Received: from mail-ig0-f176.google.com ([209.85.213.176]:36570 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752740AbbGNVbW (ORCPT ); Tue, 14 Jul 2015 17:31:22 -0400 Date: Tue, 14 Jul 2015 14:31:20 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Nishanth Aravamudan cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Anton Blanchard , Peter Zijlstra , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 1/2] powerpc/numa: fix cpu_to_node() usage during boot In-Reply-To: <20150710162531.GE44862@linux.vnet.ibm.com> Message-ID: References: <20150702230202.GA2807@linux.vnet.ibm.com> <20150710162531.GE44862@linux.vnet.ibm.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 22 On Fri, 10 Jul 2015, Nishanth Aravamudan wrote: > > After the percpu areas on initialized and cpu_to_node() is correct, it > > would be really nice to be able to make numa_cpu_lookup_table[] be > > __initdata since it shouldn't be necessary anymore. That probably has cpu > > callbacks that need to be modified to no longer look at > > numa_cpu_lookup_table[] or pass the value in, but it would make it much > > cleaner. Then nobody will have to worry about figuring out whether > > early_cpu_to_node() or cpu_to_node() is the right one to call. > > When I worked on the original pcpu patches for power, I wanted to do > this, but got myself confused and never came back to it. Thank you for > suggesting it and I'll work on it soon. > Great, thanks for taking it on! I have powerpc machines so I can test this and try to help where possible. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/