summaryrefslogtreecommitdiff
path: root/arch/s390/pci
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2019-01-29 12:48:09 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-02-07 13:57:01 +0300
commita0308c1315e72b6fdce7b419c4546dad568b3a83 (patch)
treea0394e6ad255922ab96a2895d9e759b530b992fd /arch/s390/pci
parentd4192437d75ae4f401aac5d54229756829015e1d (diff)
downloadlinux-a0308c1315e72b6fdce7b419c4546dad568b3a83.tar.xz
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