Re: [bug]patch "acpi, memory-hotplug: parse SRAT before memblockis ready" breaks numa detection

From: Tang Chen
Date: Mon Feb 18 2013 - 22:29:46 EST

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. :)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at