Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/include Also reduce UBC_NWINS from default 102...
details: https://anonhg.NetBSD.org/src/rev/850302c34d64
branches: trunk
changeset: 780947:850302c34d64
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Aug 12 20:00:06 2012 +0000
description:
Also reduce UBC_NWINS from default 1024 to 512
to avoid possible KVA shortage, otherwise
"panic: ubc_init: failed to map ubc_object"
could still happen on netbsd-6 branch.
Should be pulled up to netbsd-6.
diffstat:
sys/arch/sun3/include/param3.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r eb08f071aa3c -r 850302c34d64 sys/arch/sun3/include/param3.h
--- a/sys/arch/sun3/include/param3.h Sun Aug 12 18:39:32 2012 +0000
+++ b/sys/arch/sun3/include/param3.h Sun Aug 12 20:00:06 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param3.h,v 1.55 2012/08/11 14:35:33 tsutsui Exp $ */
+/* $NetBSD: param3.h,v 1.56 2012/08/12 20:00:06 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -51,3 +51,6 @@
*/
#define NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT)
#define NKMEMPAGES_MAX_DEFAULT ((16 * 1024 * 1024) >> PAGE_SHIFT)
+
+/* Use smaller UBC_NWINS to avoid KVA space shortage. */
+#define UBC_NWINS 512
Home |
Main Index |
Thread Index |
Old Index