Commit 9e78a13bfb1640c058fde9dabfd386b942539018
Committed by
Martin Schwidefsky
1 parent
9046e401e7
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
arch/s390/mm/mmap.c
... | ... | @@ -42,9 +42,9 @@ |
42 | 42 | /* |
43 | 43 | * Top of mmap area (just below the process stack). |
44 | 44 | * |
45 | - * Leave an at least ~128 MB hole. | |
45 | + * Leave at least a ~32 MB hole. | |
46 | 46 | */ |
47 | -#define MIN_GAP (128*1024*1024) | |
47 | +#define MIN_GAP (32*1024*1024) | |
48 | 48 | #define MAX_GAP (STACK_TOP/6*5) |
49 | 49 | |
50 | 50 | static inline unsigned long mmap_base(void) |