Commit fc67c880 authored by Heiko Carstens's avatar Heiko Carstens

s390/mm: extend default vmalloc area size to 512GB

We've seen several occurences in the past where the default vmalloc
size of 128GB is not sufficient. Therefore extend the default size.
Reviewed-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: default avatarVasily Gorbik <gor@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 97b142b7
...@@ -79,15 +79,15 @@ extern unsigned long zero_page_mask; ...@@ -79,15 +79,15 @@ extern unsigned long zero_page_mask;
/* /*
* The vmalloc and module area will always be on the topmost area of the * The vmalloc and module area will always be on the topmost area of the
* kernel mapping. We reserve 128GB (64bit) for vmalloc and modules. * kernel mapping. 512GB are reserved for vmalloc by default.
* On 64 bit kernels we have a 2GB area at the top of the vmalloc area where * At the top of the vmalloc area a 2GB area is reserved where modules
* modules will reside. That makes sure that inter module branches always * will reside. That makes sure that inter module branches always
* happen without trampolines and in addition the placement within a 2GB frame * happen without trampolines and in addition the placement within a
* is branch prediction unit friendly. * 2GB frame is branch prediction unit friendly.
*/ */
extern unsigned long VMALLOC_START; extern unsigned long VMALLOC_START;
extern unsigned long VMALLOC_END; extern unsigned long VMALLOC_END;
#define VMALLOC_DEFAULT_SIZE ((128UL << 30) - MODULES_LEN) #define VMALLOC_DEFAULT_SIZE ((512UL << 30) - MODULES_LEN)
extern struct page *vmemmap; extern struct page *vmemmap;
extern unsigned long vmemmap_size; extern unsigned long vmemmap_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment