Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/include Define a very small UBC_NWINS to keep ...



details:   https://anonhg.NetBSD.org/src/rev/38c5cf6f52b8
branches:  trunk
changeset: 508364:38c5cf6f52b8
user:      fredette <fredette%NetBSD.org@localhost>
date:      Tue Apr 10 12:24:05 2001 +0000

description:
Define a very small UBC_NWINS to keep UBC from eating all kernel VM.

diffstat:

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

diffs (22 lines):

diff -r 66b0771f74c0 -r 38c5cf6f52b8 sys/arch/sun2/include/param.h
--- a/sys/arch/sun2/include/param.h     Tue Apr 10 12:23:14 2001 +0000
+++ b/sys/arch/sun2/include/param.h     Tue Apr 10 12:24:05 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.1 2001/03/29 04:35:09 fredette Exp $       */
+/*     $NetBSD: param.h,v 1.2 2001/04/10 12:24:05 fredette Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -83,6 +83,12 @@
 #define        NMBCLUSTERS     64      /* map size, max cluster allocation */
 #define MCLSHIFT       10
 
+/*
+ * XXX fredette - we must define this, otw UBC consumes 8MB of kernel VM.
+ * For now, we make it absurdly small, perhaps it can grow later.
+ */
+#define        UBC_NWINS       32
+
 #endif /* _KERNEL */
 
 #include <m68k/param.h>



Home | Main Index | Thread Index | Old Index