lkml.org 
[lkml]   [2013]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectsrat: harsh hot-pluggable memory check?
From
Date
When parsing the memory affinity mappings in arch/x86/mm/srat.c:
acpi_numa_memory_affinity_init() I'm wondering if the hot-pluggable check is too harsh,
as we consider an error if the hot-pluggable bit is set and CONFIG_MEMORY_HOTPLUG is not.

Based on the ACPI specs (v5):

"If the Enabled bit is set and the Hot Pluggable bit is also set. The
system hardware supports hot-add and hot-remove of this memory
region."

This only mentions that the system supports hot-plugging, and IMHO if the
user decides not to use CONFIG_MEMORY_HOTPLUG, it shouldn't be considered an error.
Therefore would it be ok to drop the check? Or am I missing something?

Thanks,
Davidlohr



\
 
 \ /
  Last update: 2013-01-10 21:01    [W:0.067 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site