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

From: Robert Richter
Date: Wed Sep 21 2016 - 02:55:19 EST


On 20.09.16 11:46:35, David Daney wrote:
> From: David Daney <david.daney@xxxxxxxxxx>
...
> 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@xxxxxxxxxx>
> fixes: 1a2db300348b ("arm64, numa: Add NUMA support for arm64 platforms.")
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.7.x-
> Signed-off-by: David Daney <david.daney@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>