Re: [RFC PATCH v3 2/3] powerpc: Only set numa node information for present cpus at boottime

2014-09-03 Thread Cyril Bur
On 03/09/14 13:02, Nishanth Aravamudan wrote: On 27.08.2014 [17:34:00 +0800], Li Zhong wrote: As Nish suggested, it makes more sense to init the numa node informatiion for present cpus at boottime, which could also avoid WARN_ON(1) in numa_setup_cpu(). Hit this on a Power8 LPAR. With the

Re: [RFC PATCH v3 2/3] powerpc: Only set numa node information for present cpus at boottime

2014-09-02 Thread Nishanth Aravamudan
On 27.08.2014 [17:34:00 +0800], Li Zhong wrote: As Nish suggested, it makes more sense to init the numa node informatiion for present cpus at boottime, which could also avoid WARN_ON(1) in numa_setup_cpu(). With this change, we also need to change the smp_prepare_cpus() to set up numa

[RFC PATCH v3 2/3] powerpc: Only set numa node information for present cpus at boottime

2014-08-27 Thread Li Zhong
As Nish suggested, it makes more sense to init the numa node informatiion for present cpus at boottime, which could also avoid WARN_ON(1) in numa_setup_cpu(). With this change, we also need to change the smp_prepare_cpus() to set up numa information only on present cpus. For those possible, but