summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2019-01-06 21:43:20 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2019-01-06 21:43:20 +0000
commitcbb3c76630b196c42ae75ed7aab3c1c486f7a4ca (patch)
tree1509cef1d8f410b1f7843095922fcb9c745dc519 /sys/arch/amd64/include
parent0873ec2e7bd4d8a94e8fa8439d461ca6906c112c (diff)
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
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/pmap.h4
1 files 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