Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include Bump PAGER_MAP_DEFAULT_SIZE to 512 ...



details:   https://anonhg.NetBSD.org/src/rev/926b756d2dba
branches:  trunk
changeset: 827844:926b756d2dba
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Nov 14 16:56:03 2017 +0000

description:
Bump PAGER_MAP_DEFAULT_SIZE to 512 MB (like amd64 recently did).

diffstat:

 sys/arch/sparc64/include/vmparam.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 35abf527691c -r 926b756d2dba sys/arch/sparc64/include/vmparam.h
--- a/sys/arch/sparc64/include/vmparam.h        Tue Nov 14 15:02:06 2017 +0000
+++ b/sys/arch/sparc64/include/vmparam.h        Tue Nov 14 16:56:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.37 2016/03/26 11:49:10 martin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.38 2017/11/14 16:56:03 martin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -58,6 +58,12 @@
 #define        PAGE_MASK       (PAGE_SIZE - 1)
 
 /*
+ * Default pager_map of 16MB is awfully small.  There is plenty
+ * of VA so use it.
+ */
+#define        PAGER_MAP_DEFAULT_SIZE (512 * 1024 * 1024)
+
+/*
  * The kernel itself is mapped by the boot loader with 4Mb locked VM pages,
  * so let's keep 4Mb definitions here as well.
  */



Home | Main Index | Thread Index | Old Index