[S390] increase default size of vmalloc area

The default size of the vmalloc area is currently 1 GB. The memory resource
controller uses about 10 MB of vmalloc space per gigabyte of memory. That
turns a system with more than ~100 GB memory unbootable with the default
vmalloc size. It costs us nothing to increase the default size to some
more adequate value, e.g. 128 GB.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by Martin Schwidefsky and committed by Martin Schwidefsky 7d3f661e 6af7eea2

+3 -3
+3 -3
arch/s390/include/asm/pgtable.h
··· 105 105 #ifndef __ASSEMBLY__ 106 106 /* 107 107 * The vmalloc area will always be on the topmost area of the kernel 108 - * mapping. We reserve 96MB (31bit) / 1GB (64bit) for vmalloc, 108 + * mapping. We reserve 96MB (31bit) / 128GB (64bit) for vmalloc, 109 109 * which should be enough for any sane case. 110 110 * By putting vmalloc at the top, we maximise the gap between physical 111 111 * memory and vmalloc to catch misplaced memory accesses. As a side ··· 120 120 #define VMALLOC_END 0x7e000000UL 121 121 #define VMEM_MAP_END 0x80000000UL 122 122 #else /* __s390x__ */ 123 - #define VMALLOC_SIZE (1UL << 30) 124 - #define VMALLOC_END 0x3e040000000UL 123 + #define VMALLOC_SIZE (128UL << 30) 124 + #define VMALLOC_END 0x3e000000000UL 125 125 #define VMEM_MAP_END 0x40000000000UL 126 126 #endif /* __s390x__ */ 127 127