[PATCH] x86_64: Try to allocate node memmap near the end of node
authorAndi Kleen <ak@suse.de>
Sat, 25 Mar 2006 15:31:10 +0000 (16:31 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:10:56 +0000 (09:10 -0800)
commit267b48014a5c0c2ae90b04dad5d95ceb903365a6
tree95f5475b7b7f6e5b4fd023f51fb2fa826d95a754
parentbd6633476922b7b51227f7f704c2546e763ae5ed
[PATCH] x86_64: Try to allocate node memmap near the end of node

This fixes problems with very large nodes (over 128GB) filling up all of
the first 4GB with their mem_map and not leaving enough space for the
swiotlb.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/numa.c
include/linux/bootmem.h
mm/bootmem.c