Module Name: src
Committed By: tsutsui
Date: Sat Aug 11 17:03:26 UTC 2012
Modified Files:
src/sys/arch/sun2/include: param.h
Log Message:
Poor sun2 has only 14MB KVA space so reduce NKMEMPAGES_MIN_DEFAULT and
NKMEMPAGES_MAX_DEFAULT values accordingly.
XXX: netbsd-6 GENERIC still gets "panic: pool_get: kmem-4096: page empty"
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sun2/include/param.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/sun2/include/param.h
diff -u src/sys/arch/sun2/include/param.h:1.14 src/sys/arch/sun2/include/param.h:1.15
--- src/sys/arch/sun2/include/param.h:1.14 Fri Feb 10 17:35:48 2012
+++ src/sys/arch/sun2/include/param.h Sat Aug 11 17:03:26 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.14 2012/02/10 17:35:48 para Exp $ */
+/* $NetBSD: param.h,v 1.15 2012/08/11 17:03:26 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -90,8 +90,8 @@
* Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized
* logical pages.
*/
-#define NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT)
-#define NKMEMPAGES_MAX_DEFAULT ((32 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MIN_DEFAULT ((4 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MAX_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT)
#if defined(_KERNEL) && !defined(_LOCORE)