Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/include Reduce default UBC_NWINS to save prec...



details:   https://anonhg.NetBSD.org/src/rev/0999144974eb
branches:  trunk
changeset: 499844:0999144974eb
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu Nov 30 20:59:36 2000 +0000

description:
Reduce default UBC_NWINS to save precious KVM.

diffstat:

 sys/arch/arm26/include/param.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c67bb61504a4 -r 0999144974eb sys/arch/arm26/include/param.h
--- a/sys/arch/arm26/include/param.h    Thu Nov 30 20:56:53 2000 +0000
+++ b/sys/arch/arm26/include/param.h    Thu Nov 30 20:59:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.3 2000/08/22 21:27:22 bjh21 Exp $  */
+/*     $NetBSD: param.h,v 1.4 2000/11/30 20:59:36 bjh21 Exp $  */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -110,6 +110,13 @@
 #define NKMEMPAGES_MIN_DEFAULT 0
 #define NKMEMPAGES_MAX_DEFAULT 32
 
+/*
+ * Reduce UBC KVM usage from its default (8Mb when I looked).
+ */
+#ifndef UBC_NWINS
+#define UBC_NWINS 128
+#endif
+
 /* pages ("clicks") to disk blocks */
 #define        ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT))
 #define        dtoc(x) ((x) >> (PGSHIFT - DEV_BSHIFT))



Home | Main Index | Thread Index | Old Index