From cbb3c76630b196c42ae75ed7aab3c1c486f7a4ca Mon Sep 17 00:00:00 2001 From: Mike Larkin Date: Sun, 6 Jan 2019 21:43:20 +0000 Subject: Increase L2 PTE reservation for the kernel Bump the number of L2 page table entries reserved for the kernel from 16 to 64, to allow for larger kernels. This diff was in snaps for 21 days without any reported fallout. ok deraadt --- sys/arch/amd64/include/pmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/amd64/include/pmap.h b/sys/arch/amd64/include/pmap.h index d0e7fad264c..20b2d05275e 100644 --- a/sys/arch/amd64/include/pmap.h +++ b/sys/arch/amd64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.69 2018/10/04 05:00:40 guenther Exp $ */ +/* $OpenBSD: pmap.h,v 1.70 2019/01/06 21:43:19 mlarkin Exp $ */ /* $NetBSD: pmap.h,v 1.1 2003/04/26 18:39:46 fvdl Exp $ */ /* @@ -176,7 +176,7 @@ #define NKL4_KIMG_ENTRIES 1 #define NKL3_KIMG_ENTRIES 1 -#define NKL2_KIMG_ENTRIES 16 +#define NKL2_KIMG_ENTRIES 64 #define NDML4_ENTRIES 1 #define NDML3_ENTRIES 1 -- cgit v1.2.3