Re: [PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-22 Thread Catalin Marinas
On Tue, Sep 20, 2016 at 11:46:35AM -0700, David Daney wrote: > From: David Daney > > The wq_numa_init() function makes a private CPU to node map by calling > cpu_to_node() early in the boot process, before the non-boot CPUs are > brought online. Since the default

Re: [PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-22 Thread Catalin Marinas
On Tue, Sep 20, 2016 at 11:46:35AM -0700, David Daney wrote: > From: David Daney > > The wq_numa_init() function makes a private CPU to node map by calling > cpu_to_node() early in the boot process, before the non-boot CPUs are > brought online. Since the default implementation of cpu_to_node()

Re: [PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-21 Thread Yisheng Xie
On 2016/9/21 2:46, David Daney wrote: > From: David Daney > > Fix by moving call to numa_store_cpu_info() for all CPUs into > smp_prepare_cpus(), which happens before wq_numa_init(). Since > smp_store_cpu_info() now contains only a single function call, > simplify by

Re: [PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-21 Thread Yisheng Xie
On 2016/9/21 2:46, David Daney wrote: > From: David Daney > > Fix by moving call to numa_store_cpu_info() for all CPUs into > smp_prepare_cpus(), which happens before wq_numa_init(). Since > smp_store_cpu_info() now contains only a single function call, > simplify by removing the function and

Re: [PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-21 Thread Robert Richter
On 20.09.16 11:46:35, David Daney wrote: > From: David Daney ... > Fix by moving call to numa_store_cpu_info() for all CPUs into > smp_prepare_cpus(), which happens before wq_numa_init(). Since > smp_store_cpu_info() now contains only a single function call, > simplify by

Re: [PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-21 Thread Robert Richter
On 20.09.16 11:46:35, David Daney wrote: > From: David Daney ... > Fix by moving call to numa_store_cpu_info() for all CPUs into > smp_prepare_cpus(), which happens before wq_numa_init(). Since > smp_store_cpu_info() now contains only a single function call, > simplify by removing the function

[PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-20 Thread David Daney
From: David Daney The wq_numa_init() function makes a private CPU to node map by calling cpu_to_node() early in the boot process, before the non-boot CPUs are brought online. Since the default implementation of cpu_to_node() returns zero for CPUs that have never been

[PATCH] arm64: Call numa_store_cpu_info() earlier.

2016-09-20 Thread David Daney
From: David Daney The wq_numa_init() function makes a private CPU to node map by calling cpu_to_node() early in the boot process, before the non-boot CPUs are brought online. Since the default implementation of cpu_to_node() returns zero for CPUs that have never been brought online, the