Re: [PATCH v7 12/14] arm64/numa: remove the limitation that cpu0 must bind to node0

2016-08-29 Thread Leizhen (ThunderTown)
On 2016/8/26 23:49, Will Deacon wrote: > On Wed, Aug 24, 2016 at 03:44:51PM +0800, Zhen Lei wrote: >> 1. Currently only cpu0 set on cpu_possible_mask and percpu areas have not >>been initialized. This description refer to below: - for_each_possible_cpu(cpu) - set_cpu_numa_

Re: [PATCH v7 12/14] arm64/numa: remove the limitation that cpu0 must bind to node0

2016-08-26 Thread Will Deacon
On Wed, Aug 24, 2016 at 03:44:51PM +0800, Zhen Lei wrote: > 1. Currently only cpu0 set on cpu_possible_mask and percpu areas have not >been initialized. > 2. No reason to limit cpu0 must belongs to node0. Whilst I suspect you're using enumerated lists in order to try to make things clearer, I'

[PATCH v7 12/14] arm64/numa: remove the limitation that cpu0 must bind to node0

2016-08-24 Thread Zhen Lei
1. Currently only cpu0 set on cpu_possible_mask and percpu areas have not been initialized. 2. No reason to limit cpu0 must belongs to node0. Signed-off-by: Zhen Lei --- arch/arm64/mm/numa.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/arm64/mm/numa.c