[PATCH 1/1] powerpc/smp: Set numa node before updating mask

Nathan Lynch nathanl at linux.ibm.com
Tue Apr 13 22:25:13 AEST 2021


Srikar Dronamraju <srikar at linux.vnet.ibm.com> writes:
>
> Some of the per-CPU masks use cpu_cpu_mask as a filter to limit the search
> for related CPUs. On a dlpar add of a CPU, update cpu_cpu_mask before
> updating the per-CPU masks. This will ensure the cpu_cpu_mask is updated
> correctly before its used in setting the masks. Setting the numa_node will
> ensure that when cpu_cpu_mask() gets called, the correct node number is
> used. This code movement helped fix the above call trace.
>
> Reported-by: Geetika Moolchandani <Geetika.Moolchandani1 at ibm.com>
> Signed-off-by: Srikar Dronamraju <srikar at linux.vnet.ibm.com>

Reviewed-by: Nathan Lynch <nathanl at linux.ibm.com>

Thanks.


More information about the Linuxppc-dev mailing list