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 Poor sun2 has only 14MB KVA space so r...
details: https://anonhg.NetBSD.org/src/rev/655fa1301dd6
branches: trunk
changeset: 780921:655fa1301dd6
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Aug 11 17:03:26 2012 +0000
description:
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"
diffstat:
sys/arch/sun2/include/param.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r e1dac8e320ed -r 655fa1301dd6 sys/arch/sun2/include/param.h
--- a/sys/arch/sun2/include/param.h Sat Aug 11 16:23:53 2012 +0000
+++ b/sys/arch/sun2/include/param.h Sat Aug 11 17:03:26 2012 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index