mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-20 12:54:36 +08:00
[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 <arjan@linux.intel.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
a9ba9a3b38
commit
0410360932
@ -429,10 +429,10 @@ config CRASH_DUMP
|
|||||||
config PHYSICAL_START
|
config PHYSICAL_START
|
||||||
hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
|
hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
|
||||||
default "0x1000000" if CRASH_DUMP
|
default "0x1000000" if CRASH_DUMP
|
||||||
default "0x100000"
|
default "0x200000"
|
||||||
help
|
help
|
||||||
This gives the physical address where the kernel is loaded. Normally
|
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
|
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 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
|
address for kernels used to capture crash dump on being kexec'ed
|
||||||
|
Loading…
Reference in New Issue
Block a user