diff options
author | Helge Deller <deller@gmx.de> | 2016-10-09 09:57:54 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-10-09 09:57:54 +0200 |
commit | 65bf34f59594c11f13d371c5334a6a0a385cd7ae (patch) | |
tree | 266e4a5c1be12c557d74bcc45e8e17277459a424 | |
parent | a38671d65dce25d2390338fe9d272de6302334db (diff) | |
download | linux-65bf34f59594c11f13d371c5334a6a0a385cd7ae.tar.gz linux-65bf34f59594c11f13d371c5334a6a0a385cd7ae.tar.bz2 linux-65bf34f59594c11f13d371c5334a6a0a385cd7ae.zip |
parisc: Increase initial kernel mapping size
Increase the initial kernel default page mapping size for 64-bit kernels to
64 MB and for 32-bit kernels to 32 MB.
Due to the additional support of ftrace, tracepoint and huge pages the kernel
size can exceed the sizes we used up to now.
Cc: stable@vger.kernel.org # 4.4+
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | arch/parisc/include/asm/pgtable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/include/asm/pgtable.h b/arch/parisc/include/asm/pgtable.h index e44bdb9078a5..c2c43f714684 100644 --- a/arch/parisc/include/asm/pgtable.h +++ b/arch/parisc/include/asm/pgtable.h @@ -83,10 +83,10 @@ static inline void purge_tlb_entries(struct mm_struct *mm, unsigned long addr) printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, (unsigned long)pgd_val(e)) /* This is the size of the initially mapped kernel memory */ -#if defined(CONFIG_64BIT) || defined(CONFIG_SMP) -#define KERNEL_INITIAL_ORDER 25 /* 1<<25 = 32MB */ +#if defined(CONFIG_64BIT) +#define KERNEL_INITIAL_ORDER 26 /* 1<<26 = 64MB */ #else -#define KERNEL_INITIAL_ORDER 24 /* 1<<24 = 16MB */ +#define KERNEL_INITIAL_ORDER 25 /* 1<<25 = 32MB */ #endif #define KERNEL_INITIAL_SIZE (1 << KERNEL_INITIAL_ORDER) |