]> git.baikalelectronics.ru Git - kernel.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)
commit7144a38768e4bd27504a5e7378dec0c5db52bc45
tree0ffd471277ba53299690c444e669ea343cba145f
parentfdff82dfe64d8feaf37507d352ce673ec8f27e81
[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