summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/acpi.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-05-02 14:18:52 +0200
committerTejun Heo <tj@kernel.org>2011-05-02 14:18:52 +0200
commit797390d8554b1e07aabea37d0140933b0412dba0 (patch)
tree81ec97a19bcd03de733a73fea8c88a84b64044ad /arch/x86/include/asm/acpi.h
parentx86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional (diff)
downloadlinux-797390d8554b1e07aabea37d0140933b0412dba0.tar.xz
linux-797390d8554b1e07aabea37d0140933b0412dba0.zip
x86-32, NUMA: use sparse_memory_present_with_active_regions()
Instead of calling memory_present() for each region from NUMA init, call sparse_memory_present_with_active_regions() from paging_init() similarly to x86-64. For flat and numaq, this results in exactly the same memory_present() calls. For srat, if there are multiple memory chunks for a node, after this change, memory_present() will be called separately for each chunk instead of being called once to encompass the whole range, which doesn't cause any harm and actually is the better behavior. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/acpi.h')
0 files changed, 0 insertions, 0 deletions