linux_dsm_epyc7002/arch/x86/kernel/apic
Tejun Heo 7210cf9217 x86-32, numa: Calculate remap size in common code
Only pgdat and memmap use remap area and there isn't much benefit in
allowing per-node override.  In addition, the use of node_remap_size[]
is confusing in that it contains number of bytes before remap
initialization and then number of pages afterwards.

Move remap size calculation for memap from specific NUMA config
implementations to init_alloc_remap() and make node_remap_size[]
static.

The only behavior difference is that, before this patch, numaq_32
didn't consider max_pfn when calculating the memmap size but it's
enforced after this patch, which is the right thing to do.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1301955840-7246-8-git-send-email-tj@kernel.org
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2011-04-06 17:57:16 -07:00
..
apic_flat_64.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
apic_noop.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
apic.c x86: Use syscore_ops instead of sysdev classes and sysdevs 2011-03-23 22:15:54 +01:00
bigsmp_32.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
es7000_32.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
hw_nmi.c x86: Stop including <linux/delay.h> in two asm header files 2011-03-29 09:37:42 +02:00
io_apic.c x86: Use syscore_ops instead of sysdev classes and sysdevs 2011-03-23 22:15:54 +01:00
ipi.c x86: Always use x86_cpu_to_logical_apicid for cpu -> logical apic id 2011-01-28 14:54:05 +01:00
Makefile
numaq_32.c x86-32, numa: Calculate remap size in common code 2011-04-06 17:57:16 -07:00
probe_32.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
probe_64.c
summit_32.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
x2apic_cluster.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
x2apic_phys.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
x2apic_uv_x.c x86, UV: Fix kdump reboot 2011-03-31 18:44:03 +02:00