Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -3
+3 -3
arch/parisc/include/asm/pgtable.h
··· 83 83 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, (unsigned long)pgd_val(e)) 84 84 85 85 /* This is the size of the initially mapped kernel memory */ 86 - #if defined(CONFIG_64BIT) || defined(CONFIG_SMP) 87 - #define KERNEL_INITIAL_ORDER 25 /* 1<<25 = 32MB */ 86 + #if defined(CONFIG_64BIT) 87 + #define KERNEL_INITIAL_ORDER 26 /* 1<<26 = 64MB */ 88 88 #else 89 - #define KERNEL_INITIAL_ORDER 24 /* 1<<24 = 16MB */ 89 + #define KERNEL_INITIAL_ORDER 25 /* 1<<25 = 32MB */ 90 90 #endif 91 91 #define KERNEL_INITIAL_SIZE (1 << KERNEL_INITIAL_ORDER) 92 92