Srikar Dronamraju <sri...@linux.vnet.ibm.com> writes: > * Nathan Lynch <nath...@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.