]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vdso: map vdso above stack
authorSven Schnelle <svens@linux.ibm.com>
Wed, 6 Apr 2022 06:44:49 +0000 (08:44 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 25 Apr 2022 11:54:14 +0000 (13:54 +0200)
commita2bb47694bf804463a034eb62b64d70d2acb73bd
tree1b7d25616ed5845c82abd8c0180ceeffb17dbd34
parent5bb52452c82118e8af6010f91250905e500afe34
s390/vdso: map vdso above stack

In the current code vdso is mapped below the stack. This is
problematic when programs mapped to the top of the address space
are allocating a lot of memory, because the heap will clash with
the vdso. To avoid this map the vdso above the stack and move
STACK_TOP so that it all fits into three level paging.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/vdso.c