lkml.org 
[lkml]   [2015]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2015-07-14 23:41    [W:0.112 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site