[PATCH] x86_64: Allow kernel page tables upto the end of memory
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:46:57 +0000 (22:46 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:05:03 +0000 (19:05 -0800)
commit6c5acd160a10c76e8debf4f8fa8256d7c914f290
treec13c1d282ad2bce8a6556d5d517879bf5b4343c7
parent0a9c3ee7692fa20670986bcf550950e88ab9b4cc
[PATCH] x86_64: Allow kernel page tables upto the end of memory

Previously they would be only allocated before the kernel text at
1MB.  This limited the maximum supported memory to 128GB.
Now allow the e820 allocator to put them everywhere. Try
to put them beyond any DMA zones to avoid filling them up.
This should free some GFP_DMA memory compared to earlier kernels.

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