[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1507141430370.16182@chino.kir.corp.google.com>
Date: Tue, 14 Jul 2015 14:31:20 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Nishanth Aravamudan <nacc@...ux.vnet.ibm.com>
cc: Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Anton Blanchard <anton@...ba.org>,
Peter Zijlstra <peterz@...radead.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 1/2] powerpc/numa: fix cpu_to_node() usage during
boot
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists