diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2019-08-02 13:28:20 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2019-08-21 13:41:43 +0300 |
commit | 59793c5ab93fed9661deaf6d8ba054af681c0a6a (patch) | |
tree | 732f6ea401fca87cab2a995d8a32140157c8c2af /arch/s390/include/asm/pgtable.h | |
parent | f62f7dcbf023160ca47eb4bc7228ece8207f8a8e (diff) | |
download | linux-59793c5ab93fed9661deaf6d8ba054af681c0a6a.tar.xz |
s390: move vmalloc option parsing to startup code
Few other crucial memory setup options are already handled in
the startup code. Those values are needed by kaslr and kasan
implementations. "vmalloc" is the last piece required for future
improvements such as early decision on kernel page levels depth required
for actual memory setup, as well as vmalloc memory area access monitoring
in kasan.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pgtable.h')
-rw-r--r-- | arch/s390/include/asm/pgtable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h index 9b274fcaacb6..0c4600725fc2 100644 --- a/arch/s390/include/asm/pgtable.h +++ b/arch/s390/include/asm/pgtable.h @@ -86,6 +86,7 @@ extern unsigned long zero_page_mask; */ extern unsigned long VMALLOC_START; extern unsigned long VMALLOC_END; +#define VMALLOC_DEFAULT_SIZE ((128UL << 30) - MODULES_LEN) extern struct page *vmemmap; #define VMEM_MAX_PHYS ((unsigned long) vmemmap) |