lkml.org 
[lkml]   [2013]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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. :)


\
 
 \ /
  Last update: 2013-02-19 05:01    [W:0.030 / U:2.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site