• Mark Lord's avatar
    [PATCH] VMSPLIT config options · 975b3d3d
    Mark Lord authored
    Enable selection of different user/kernel VM splits for i386, including an
    optimized mode for 1GB physical RAM, which gives the kernel a direct (non
    HIGHMEM) mapping to the entire 1GB rather than just the first 896MB.
    
    There is a similarly a similarly optimized mode for machines with exactly 2GB
    of physical RAM.
    
    This can speed up the kernel by avoiding having to create/destroy temporary
    HIGHMEM mappings, and by not having to include HIGHMEM support at all on such
    machines.  The flip side is that there's less virtual addressing left for
    userspace in these alternatives, and some binary-only kernel modules may
    misbehave unless rebuilt with the same VMSPLIT option as the main kernel
    image.
    
    Original idea/patch from Jens Axboe, modified based on suggestions from Linus
    et al.
    Signed-off-by: default avatarMark Lord <mlord@pobox.com>
    Signed-off-by: default avatarJens Axboe <axboe@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    975b3d3d
Kconfig 36.2 KB