]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: Recover 1MB of kernel memory
authorAndi Kleen <ak@suse.de>
Wed, 30 Aug 2006 17:37:12 +0000 (19:37 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Aug 2006 23:05:15 +0000 (16:05 -0700)
commitceee88223047749ad683d397b19904c3dfb6adeb
tree0ffd471277ba53299690c444e669ea343cba145f
parentea424055b771a165c9abd3ae109255a3b825c745
[PATCH] x86_64: Recover 1MB of kernel memory

Noticed by Jan Beulich.

When the kernel was moved from 1MB to 2MB in 2.6.17 the kernel reservation
code wasn't adjusted and it still reserved starting with 1MB. This means 1MB always
were lost.

This patch fixes this by reserving only starting with _text.

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