• H
    [S390] vdso: dont map at mmap_base · e7828bbd
    Heiko Carstens 提交于
    The vdso object is currently always mapped with mm->mmap_base used as
    requested address. In case of flexible mmap layout this means it gets
    mapped above mmap_base and therefore potentially stealing a bit of
    address space that is reserved for the stack.
    In case of flexible mmap layout the object should be mapped below
    mmap base. For legacy mmap layout above.
    To fix this just don't request any specific address and let the mmap
    code figure out an address that fits.
    Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
    e7828bbd
vdso.c 8.7 KB