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 VM_PHYSSEG_MAX from 32 to 64...



details:   https://anonhg.NetBSD.org/src/rev/cba9ea481721
branches:  trunk
changeset: 447587:cba9ea481721
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Jan 17 19:26:03 2019 +0000

description:
Increase VM_PHYSSEG_MAX from 32 to 64. Saw an example on tech-kern@ of a
heavily fragmented memory map.

diffstat:

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

diffs (18 lines):

diff -r 16059c136637 -r cba9ea481721 sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h  Thu Jan 17 18:44:50 2019 +0000
+++ b/sys/arch/amd64/include/vmparam.h  Thu Jan 17 19:26:03 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.49 2018/10/29 19:43:16 maya Exp $        */
+/*     $NetBSD: vmparam.h,v 1.50 2019/01/17 19:26:03 maxv Exp $        */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -159,7 +159,7 @@
 /* virtual sizes (bytes) for various kernel submaps */
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
-#define VM_PHYSSEG_MAX         32      /* 1 "hole" + 31 free lists */
+#define VM_PHYSSEG_MAX         64      /* 1 "hole" + 63 free lists */
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_BIGFIRST
 
 #define        VM_NFREELIST            6



Home | Main Index | Thread Index | Old Index