From: Andi Kleen Date: Sat, 25 Mar 2006 15:30:13 +0000 (+0100) Subject: [PATCH] x86_64: Move kernel to 2MB X-Git-Tag: v2.6.17-rc1~704 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04103609322daca31197068e310ba8037ecd3470;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] x86_64: Move kernel to 2MB As suggested by Andi (and Alan), move the default kernel location from 1Mb to 2Mb, to align to the start of a TLB entry. Signed-off-by: Arjan van de Ven Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index e18eb79..9fad9df 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig @@ -429,10 +429,10 @@ config CRASH_DUMP config PHYSICAL_START hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP) default "0x1000000" if CRASH_DUMP - default "0x100000" + default "0x200000" help This gives the physical address where the kernel is loaded. Normally - for regular kernels this value is 0x100000 (1MB). But in the case + for regular kernels this value is 0x200000 (2MB). But in the case of kexec on panic the fail safe kernel needs to run at a different address than the panic-ed kernel. This option is used to set the load address for kernels used to capture crash dump on being kexec'ed