Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/include Bump UBC_WINSHIFT to 16 (64KB), and U...
details: https://anonhg.NetBSD.org/src/rev/9c0c1a88c81a
branches: trunk
changeset: 937993:9c0c1a88c81a
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Aug 29 20:08:08 2020 +0000
description:
Bump UBC_WINSHIFT to 16 (64KB), and UBC_NWINS to 4096 (256MB total).
Alpha has plenty of KVA to use for this.
diffstat:
sys/arch/alpha/include/vmparam.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 488193e6ba3b -r 9c0c1a88c81a sys/arch/alpha/include/vmparam.h
--- a/sys/arch/alpha/include/vmparam.h Sat Aug 29 20:06:59 2020 +0000
+++ b/sys/arch/alpha/include/vmparam.h Sat Aug 29 20:08:08 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.38 2012/12/10 16:12:19 chs Exp $ */
+/* $NetBSD: vmparam.h,v 1.39 2020/08/29 20:08:08 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -58,6 +58,17 @@
#define PAGE_MASK (PAGE_SIZE - 1)
/*
+ * Defaults for Unified Buffer Cache parameters.
+ */
+
+#ifndef UBC_WINSHIFT
+#define UBC_WINSHIFT 16 /* 64KB */
+#endif
+#ifndef UBC_NWINS
+#define UBC_NWINS 4096 /* for a total of 256MB */
+#endif
+
+/*
* USRSTACK is the top (end) of the user stack.
*
* Digital UNIX (formerly DEC OSF/1) places the stack below the
Home |
Main Index |
Thread Index |
Old Index