paging_init()
时间:2010-10-15 来源:letmego163
paging_init is invoked on IA-32 systems during the boot process to split the virtual address space.
pagetable_init first initializes the page tables of the system using swapper_pg_dir as a basic.
The TLB entries must also be flushed because they still contain boot memory allocation data.
__flush_all_tlb does the necessary work.
kmap_init initializes the global variable kmap_pte. The kernel uses this variable to store the page table
entry for the area later used to map pages from the highmem zone into kernel address space. Besides,
the address of the first fixmap area for highmem kernel mappings is stored in the global variable
kmem_vstart.
|
static void __init pagetable_init(void) |
static void __init kmap_init(void) |