aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/pci
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2019-01-29 10:48:09 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-02-07 11:57:01 +0100
commita0308c1315e72b6fdce7b419c4546dad568b3a83 (patch)
treea0394e6ad255922ab96a2895d9e759b530b992fd /arch/s390/pci
parents390: remove dead code (diff)
downloadlinux-dev-a0308c1315e72b6fdce7b419c4546dad568b3a83.tar.xz
linux-dev-a0308c1315e72b6fdce7b419c4546dad568b3a83.zip
s390/mmap: take stack_guard_gap into account for mmap_base
The s390 version of the mmap_base function is ignorant of stack_guard_gap which can lead to a placement of the stack vs. the mmap base that does not leave enough space for the stack rlimit. Add the stack_guard_gap to the calculation and while we are at it the check for gap+pad overflows as well. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/pci')
0 files changed, 0 insertions, 0 deletions