在 2024/1/19 12:42, Yury Norov 写道:
Regardless, I don't think that the approach is correct. As per your description, some initialization functions erroneously call cpu_to_node() instead of early_cpu_to_node() which exists specifically for that case.
I checked the code again.The sparc, mips and s390 (which support the NUMA) do not support early_cpu_to_node().
So we cannot use early_cpu_to_node() for these functions. Thanks Huang Shijie