• Martin J. Bligh's avatar
    [PATCH] Assign PKMAP_BASE dynamically · 5b1aa762
    Martin J. Bligh authored
    Badari hit a problem when configuring PAE off (ie CONFIG_4G) where the
    pkmap area could end up overlapping the fixmap area.  For some reason,
    PKMAP_BASE was defined statically, which seems rather pointless, and asking
    for trouble.  Patch below definines it dynamically, under the fixmap area. 
    The ordering of the VMALLOC_RESERVE space is:
    
    FIXADDR_TOP
    			fixed_addresses
    FIXADDR_START
    			temp fixed addresses
    FIXADDR_BOOT_START
    			Persistent kmap area
    PKMAP_BASE
    VMALLOC_END
    			Vmalloc area
    VMALLOC_START
    high_memory
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    5b1aa762
highmem.h 2.02 KB