diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2010-09-07 23:19:35 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-09-09 17:06:34 +0900 |
commit | bec38dd6ae9bde528d8723b9e88024e121424ae4 (patch) | |
tree | 7da81eaa3108fee02caa65aba262bbf62e5d8846 /kexec/kexec.h | |
parent | ed7780a5022bb4a9b9a23de1bda99c6de9921195 (diff) |
x86 bzImage: Optimize the panic kernel memory layout.
Load the setup sectors above the kernel in the panic case,
to avoid wasting memory.
Linux kernels frequently have a severe alignment requirment
that can be as much as 16M. The start of the reserved
crash kernel region is 16M aligned. The setup sectors
are tiny 20k? and when we are not running the real mode code
they can live anywhere. Move the setup sectors from
lower address than the kernel to higher address than the kernel
avoids introducing a bad alignment. Allowing the linux kernel
to load lower. Loading the linux kernel lower in memory ensures
memory is used more efficiently.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
0 files changed, 0 insertions, 0 deletions