patch "acpi, memory-hotplug: parse SRAT before memblock is ready" breaks numa detection
This patch in linux-next breaks numa detection. numa_init() will zero numa_meminfo. If acpi_numa_init() does not call early_parse_srat(), we will have no memory numa info.
Thanks,
Shaohua
Quoted 4 lines · Shaohua Li
This patch in linux-next breaks numa detection.
numa_init()will zeronuma_meminfo. Ifacpi_numa_init()does not callearly_parse_srat(), we will have no memory numa info.
Hum, yes, I missed this one. :)
Briefly seeing the code, I think moving the following code to early_parse_srat() will fix it, right? :)
memset(&numa_meminfo, 0, sizeof(numa_meminfo));
I'll send a patch to fix it.
Thanks. :)