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

Nathan Lynch nathanl at linux.ibm.com
Fri Apr 9 06:00:37 AEST 2021


Srikar Dronamraju <srikar at linux.vnet.ibm.com> writes:
> * Nathan Lynch <nathanl at linux.ibm.com> [2021-04-07 14:46:24]:
>> I don't know. I guess this question just makes me wonder whether powerpc
>> needs to have the additional lookup table. How is it different from the
>> generic per_cpu numa_node?
>
> lookup table is for early cpu to node i.e when per_cpu variables may not be
> available. This would mean that calling set_numa_node/set_cpu_numa_node from
> map_cpu_to_node() may not always be an option, since map_cpu_to_node() does
> end up getting called very early in the system.

Ah that's right, thanks.


More information about the Linuxppc-dev mailing list