• David S. Miller's avatar
    [SPARC64]: Top-down address space allocation for 32-bit tasks. · a91690dd
    David S. Miller authored
    Currently allocations are very constrained for 32-bit processes.
    It grows down-up from 0x70000000 to 0xf0000000 which gives about
    2GB of stack + dynamic mmap() space.
    
    So support the top-down method, and we need to override the
    generic helper function in order to deal with D-cache coloring.
    
    With these changes I was able to squeeze out a mmap() just over
    3.6GB in size in a 32-bit process.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    a91690dd
pgtable.h 23.4 KB