summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-01-12 09:55:23 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-01-12 09:55:24 +0100
commit9e78a13bfb1640c058fde9dabfd386b942539018 (patch)
tree618ca8f0f90494679a33a2748683fd821eb1563b /arch/s390
parent9046e401e752dba784805a7818f99cc45a39cbff (diff)
downloadlinux-stable-9e78a13bfb1640c058fde9dabfd386b942539018.tar.gz
linux-stable-9e78a13bfb1640c058fde9dabfd386b942539018.tar.bz2
linux-stable-9e78a13bfb1640c058fde9dabfd386b942539018.zip
[S390] reduce miminum gap between stack and mmap_base
Reduce minimum gap between stack and mmap_base to 32MB. That way there is a bit more space for heap and mmap for tight 31 bit address spaces. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/mm/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/mm/mmap.c b/arch/s390/mm/mmap.c
index 5578740ab9c9..89eff9e7b0b5 100644
--- a/arch/s390/mm/mmap.c
+++ b/arch/s390/mm/mmap.c
@@ -42,9 +42,9 @@ static unsigned long stack_maxrandom_size(void)
/*
* Top of mmap area (just below the process stack).
*
- * Leave an at least ~128 MB hole.
+ * Leave at least a ~32 MB hole.
*/
-#define MIN_GAP (128*1024*1024)
+#define MIN_GAP (32*1024*1024)
#define MAX_GAP (STACK_TOP/6*5)
static inline unsigned long mmap_base(void)