summaryrefslogtreecommitdiff
path: root/drivers/video/s3fb.c
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2009-02-03 06:22:48 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2009-02-04 02:29:18 (GMT)
commitf5deb79679af6eb41b61112fadcda28b2a4cfb0d (patch)
tree5de5beef9b17d72e99a9691f8bbd4459c9228e45 /drivers/video/s3fb.c
parentc415b3dce30dfb41234e118662e8720f47343a4f (diff)
downloadlinux-f5deb79679af6eb41b61112fadcda28b2a4cfb0d.tar.xz
x86: kexec: Use one page table in x86_64 machine_kexec
Impact: reduce kernel BSS size by 7 pages, improve code readability Two page tables are used in current x86_64 kexec implementation. One is used to jump from kernel virtual address to identity map address, the other is used to map all physical memory. In fact, on x86_64, there is no conflict between kernel virtual address space and physical memory space, so just one page table is sufficient. The page table pages used to map control page are dynamically allocated to save memory if kexec image is not loaded. ASM code used to map control page is replaced by C code too. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/video/s3fb.c')
0 files changed, 0 insertions, 0 deletions