From 083e9ed543e19ff1706dc609b11ff50ca92f1028 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 30 Nov 2000 01:53:02 +0000 Subject: Increase NKPT from 17 to 30. This fixes the 4GB ram boot panic on both -current and RELENG_4 with GENERIC. NKPT is the number of initial bootstrap page table pages we create for the kernel during startup. Once VM is up, we resize it as needed, but with 4G ram, the size of the vm_page_t structures was pushing it over the limit. The fact that trimmed down kernels boot on 4G ram machines suggests that we were pretty close to the edge. The "30" is arbitary, but smaller than the 'nkpt' variable on all machines that I checked. --- sys/amd64/include/pmap.h | 2 +- sys/i386/include/pmap.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index e81e9fbe3cd3..ab923fb320a1 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -88,7 +88,7 @@ #define VADDR(pdi, pti) ((vm_offset_t)(((pdi)<