]> git.baikalelectronics.ru Git - kernel.git/commit
x86-64, NUMA: simplify nodedata allocation
authorTejun Heo <tj@kernel.org>
Mon, 2 May 2011 12:18:51 +0000 (14:18 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 2 May 2011 12:18:51 +0000 (14:18 +0200)
commit1b64ad00343217ac862f3c4b7d5a9d80f18d7680
tree1ba64ef16bbf1f50226c9b48003743f0e8f141d0
parentf5aeea352dcc46739202c4534788d4b81288d6d0
x86-64, NUMA: simplify nodedata allocation

With top-down memblock allocation, the allocation range limits in
ealry_node_mem() can be simplified - try node-local first, then any
node but in any case don't allocate below DMA limit.

Remove early_node_mem() and implement simplified allocation directly
in setup_node_bootmem().

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>
arch/x86/mm/numa_64.c