• Heiko Carstens's avatar
    [S390] vdso: dont map at mmap_base · e7828bbd
    Heiko Carstens authored
    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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    e7828bbd
vdso.c 8.74 KB