summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/relocate_kernel_32.S
diff options
context:
space:
mode:
authorHuang Ying2008-10-31 02:48:08 +0100
committerIngo Molnar2008-10-31 10:01:56 +0100
commit92be3d6bdf2cb34972ab50e12ad4da1076e690da (patch)
tree6ed10cb8a14615ca0bda48f64520c82480397d00 /arch/x86/kernel/relocate_kernel_32.S
parentkexec/i386: remove PAGE_SIZE alignment from relocate_kernel (diff)
downloadkernel-qcow2-linux-92be3d6bdf2cb34972ab50e12ad4da1076e690da.tar.gz
kernel-qcow2-linux-92be3d6bdf2cb34972ab50e12ad4da1076e690da.tar.xz
kernel-qcow2-linux-92be3d6bdf2cb34972ab50e12ad4da1076e690da.zip
kexec/i386: allocate page table pages dynamically
Impact: save .text size when kexec is built in but not loaded This patch adds an architecture specific struct kimage_arch into struct kimage. The pointers to page table pages used by kexec are added to struct kimage_arch. The page tables pages are dynamically allocated in machine_kexec_prepare instead of statically from BSS segment. This will save up to 20k memory when kexec image is not loaded. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/relocate_kernel_32.S')
0 files changed, 0 insertions, 0 deletions