Re: NUMA topology question wrt. d4edc5b6

2014-06-10 Thread Nishanth Aravamudan
On 09.06.2014 [14:38:26 -0700], David Rientjes wrote: > On Fri, 23 May 2014, Srivatsa S. Bhat wrote: > > > diff --git a/arch/powerpc/include/asm/topology.h > > b/arch/powerpc/include/asm/topology.h > > index c920215..58e6469 100644 > > --- a/arch/powerpc/include/asm/topology.h > > +++ b/arch/powe

Re: NUMA topology question wrt. d4edc5b6

2014-06-09 Thread David Rientjes
On Fri, 23 May 2014, Srivatsa S. Bhat wrote: > diff --git a/arch/powerpc/include/asm/topology.h > b/arch/powerpc/include/asm/topology.h > index c920215..58e6469 100644 > --- a/arch/powerpc/include/asm/topology.h > +++ b/arch/powerpc/include/asm/topology.h > @@ -18,6 +18,7 @@ struct device_node; >

Re: NUMA topology question wrt. d4edc5b6

2014-05-28 Thread Nishanth Aravamudan
On 23.05.2014 [02:18:05 +0530], Srivatsa S. Bhat wrote: > > [ Adding a few more CC's ] > > On 05/22/2014 01:34 AM, Nishanth Aravamudan wrote: > > Hi Srivatsa, > > > > After d4edc5b6 ("powerpc: Fix the setup of CPU-to-Node mappings during > > CPU online"), cpu_to_node() looks like: > > > > stati

Re: NUMA topology question wrt. d4edc5b6

2014-05-22 Thread Srivatsa S. Bhat
[ Adding a few more CC's ] On 05/22/2014 01:34 AM, Nishanth Aravamudan wrote: > Hi Srivatsa, > > After d4edc5b6 ("powerpc: Fix the setup of CPU-to-Node mappings during > CPU online"), cpu_to_node() looks like: > > static inline int cpu_to_node(int cpu) > { > int nid; > > nid =

NUMA topology question wrt. d4edc5b6

2014-05-21 Thread Nishanth Aravamudan
Hi Srivatsa, After d4edc5b6 ("powerpc: Fix the setup of CPU-to-Node mappings during CPU online"), cpu_to_node() looks like: static inline int cpu_to_node(int cpu) { int nid; nid = numa_cpu_lookup_table[cpu]; /* * During early boot, the numa-cpu lookup table migh