Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/include Increase the kernel heap size from 51...



details:   https://anonhg.NetBSD.org/src/rev/4f0168d712ea
branches:  trunk
changeset: 824756:4f0168d712ea
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Jun 17 08:40:46 2017 +0000

description:
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).

diffstat:

 sys/arch/amd64/include/pmap.h    |  4 ++--
 sys/arch/amd64/include/vmparam.h |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 6240204200af -r 4f0168d712ea sys/arch/amd64/include/pmap.h
--- a/sys/arch/amd64/include/pmap.h     Sat Jun 17 08:07:03 2017 +0000
+++ b/sys/arch/amd64/include/pmap.h     Sat Jun 17 08:40:46 2017 +0000
@@ -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)
diff -r 6240204200af -r 4f0168d712ea sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h  Sat Jun 17 08:07:03 2017 +0000
+++ b/sys/arch/amd64/include/vmparam.h  Sat Jun 17 08:40:46 2017 +0000
@@ -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
 
 /*



Home | Main Index | Thread Index | Old Index