Module Name:    src
Committed By:   tsutsui
Date:           Sun Aug 12 20:00:07 UTC 2012

Modified Files:
        src/sys/arch/sun3/include: param3.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/sun3/include/param3.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sun3/include/param3.h
diff -u src/sys/arch/sun3/include/param3.h:1.55 src/sys/arch/sun3/include/param3.h:1.56
--- src/sys/arch/sun3/include/param3.h:1.55	Sat Aug 11 14:35:33 2012
+++ src/sys/arch/sun3/include/param3.h	Sun Aug 12 20:00:06 2012
@@ -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

Reply via email to