[PATCH] arm64: Call numa_store_cpu_info() earlier.

Robert Richter rric at kernel.org
Tue Sep 20 23:55:08 PDT 2016


On 20.09.16 11:46:35, David Daney wrote:
> From: David Daney <david.daney at cavium.com>
...
> 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 out-lining its contents.
> 
> Suggested-by: Robert Richter <rric at kernel.org>
> fixes: 1a2db300348b ("arm64, numa: Add NUMA support for arm64 platforms.")
> Cc: <stable at vger.kernel.org> # 4.7.x-
> Signed-off-by: David Daney <david.daney at cavium.com>
> ---
>  arch/arm64/kernel/smp.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)

Looks good, your version properly initializes the boot cpu that was
missing in my version.

Reviewed-by: Robert Richter <rrichter at cavium.com>



More information about the linux-arm-kernel mailing list