From: Huang Ying Date: Fri, 31 Oct 2008 01:48:08 +0000 (+0800) Subject: kexec/i386: allocate page table pages dynamically X-Git-Tag: v2.6.29-rc1~538^2~19^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92be3d6bdf2cb34972ab50e12ad4da1076e690da;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed