Messages in this thread | | | Date | Tue, 19 Feb 2013 11:29:00 +0800 | From | Tang Chen <> | Subject | Re: [bug]patch "acpi, memory-hotplug: parse SRAT before memblock is ready" breaks numa detection |
| |
On 02/19/2013 11:07 AM, Shaohua Li wrote: > 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. >
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. :)
| |