[PATCH -mm 1/2 -v2] kexec/i386: kexec page table code clean up - add arch_kimage

Simon Horman horms at verge.net.au
Fri Jan 18 04:11:09 EST 2008


On Tue, Jan 15, 2008 at 02:05:46PM +0800, Huang, Ying wrote:
> This patch add an architecture specific struct arch_kimage into struct
> kimage. Three pointers to page table pages used by kexec are added to
> struct arch_kimage. 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.

I like this idea a lot.

Acked-by: Simon Horman <horms at verge.net.au>

> Signed-off-by: Huang Ying <ying.huang at intel.com>

-- 
Horms




More information about the kexec mailing list