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

From
Nathan Lynch <hidden>
Date
2021-04-13 12:25:58
Reply to
Srikar Dronamraju, 2021-04-01
Srikar Dronamraju [off-list ref] 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 <redacted>
Signed-off-by: Srikar Dronamraju <redacted>
Reviewed-by: Nathan Lynch <redacted>

Thanks.
Thread (12 messages) 12 messages, 3 authors, last reply 2021-04-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help