[PATCHSET tip:x86/mm] x86-32, NUMA: Clean up alloc_remap

From: Tejun Heo
Date: Mon Apr 04 2011 - 18:26:25 EST


Hello,

This patchset cleans up remap allocator in preparation for 32/64bit
NUMA unification. After the patchset, remap allocator initialization
is separate from the rest of NUMA initializaiton. In the process,
several bugs are fixed and boot is made less verbose.

This patchset contains the following fourteen patches. Please note
that x86/urgent needs to be pulled into x86/mm for 32bit NUMA to work
at all (765af22da8 "x86-32, NUMA: Fix ACPI NUMA init broken by recent
x86-64 change").

0001-x86-32-NUMA-Fix-failure-condition-check-in-alloc_rem.patch
0002-x86-32-NUMA-Align-pgdat-size-while-initializing-allo.patch
0003-x86-32-NUMA-Remove-redundant-top-down-alloc-code-fro.patch
0004-x86-32-NUMA-Reorganize-calculate_numa_remap_page.patch
0005-x86-32-NUMA-Rename-node_kva-to-node_pa-in-init_alloc.patch
0006-x86-32-NUMA-Make-size-in-init_aloc_remap-represent-b.patch
0007-x86-32-NUMA-Calculate-remap-size-in-common-code.patch
0008-x86-32-NUMA-Make-init_alloc_remap-less-panicky.patch
0009-x86-32-NUMA-Move-lowmem-address-space-reservation-to.patch
0010-x86-32-NUMA-Move-remapping-for-remap-allocator-into-.patch
0011-x86-32-NUMA-Make-pgdat-allocation-use-alloc_remap.patch
0012-x86-32-NUMA-Remove-now-useless-node_remap_offset.patch
0013-x86-32-NUMA-Remove-redundant-node_remap_size.patch
0014-x86-32-NUMA-Update-remap-allocator-comments.patch

The patchset is on top of the current x86/mm (64d21fc194) and
available in the following git branch.

git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git cleanup-alloc_remap

diffstat follows.

arch/x86/include/asm/topology.h | 1
arch/x86/kernel/apic/numaq_32.c | 4
arch/x86/mm/numa_32.c | 268 ++++++++++++++++------------------------
arch/x86/mm/srat_32.c | 1
4 files changed, 111 insertions(+), 163 deletions(-)

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/