Module Name: src Committed By: maxv Date: Sat Jun 17 08:40:46 UTC 2017
Modified Files: src/sys/arch/amd64/include: pmap.h vmparam.h Log Message: Increase the kernel heap size from 512GB to 32TB, in such a way that it is able to map the maximum amount of ram supported twice (16TB x 2). To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amd64/include/pmap.h cvs rdiff -u -r1.40 -r1.41 src/sys/arch/amd64/include/vmparam.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/include/pmap.h diff -u src/sys/arch/amd64/include/pmap.h:1.39 src/sys/arch/amd64/include/pmap.h:1.40 --- src/sys/arch/amd64/include/pmap.h:1.39 Fri Nov 11 12:06:31 2016 +++ src/sys/arch/amd64/include/pmap.h Sat Jun 17 08:40:46 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.39 2016/11/11 12:06:31 maxv Exp $ */ +/* $NetBSD: pmap.h,v 1.40 2017/06/17 08:40:46 maxv Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -169,7 +169,7 @@ #define PDP_BASE L4_BASE -#define NKL4_MAX_ENTRIES (unsigned long)1 +#define NKL4_MAX_ENTRIES (unsigned long)64 #define NKL3_MAX_ENTRIES (unsigned long)(NKL4_MAX_ENTRIES * 512) #define NKL2_MAX_ENTRIES (unsigned long)(NKL3_MAX_ENTRIES * 512) #define NKL1_MAX_ENTRIES (unsigned long)(NKL2_MAX_ENTRIES * 512) Index: src/sys/arch/amd64/include/vmparam.h diff -u src/sys/arch/amd64/include/vmparam.h:1.40 src/sys/arch/amd64/include/vmparam.h:1.41 --- src/sys/arch/amd64/include/vmparam.h:1.40 Thu Jun 15 11:25:52 2017 +++ src/sys/arch/amd64/include/vmparam.h Sat Jun 17 08:40:46 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.40 2017/06/15 11:25:52 maxv Exp $ */ +/* $NetBSD: vmparam.h,v 1.41 2017/06/17 08:40:46 maxv Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -121,10 +121,10 @@ */ #ifndef XEN #define VM_MIN_KERNEL_ADDRESS 0xffff800000000000 -#define VM_MAX_KERNEL_ADDRESS 0xffff808000000000 +#define VM_MAX_KERNEL_ADDRESS 0xffffa00000000000 #else #define VM_MIN_KERNEL_ADDRESS 0xffffa00000000000 -#define VM_MAX_KERNEL_ADDRESS 0xffffa08000000000 +#define VM_MAX_KERNEL_ADDRESS 0xffffc00000000000 #endif /*