From 11ab7938f44b7fe2122946c683cfb8845448d61a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 21 Sep 2005 20:58:25 +0000 Subject: Reduce NKMEMPAGES_MAX_DEFAULT_SUN4M, or we may allocate too much of kernel_map on large memory sun4m machines. --- sys/arch/sparc/include/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc/include') diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h index 5987f2050c6..837cfbdc70e 100644 --- a/sys/arch/sparc/include/param.h +++ b/sys/arch/sparc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.31 2005/09/12 23:05:05 miod Exp $ */ +/* $OpenBSD: param.h,v 1.32 2005/09/21 20:58:24 miod Exp $ */ /* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */ /* @@ -111,7 +111,7 @@ */ #define NKMEMPAGES_MIN_DEFAULT ((4 * 1024 * 1024) >> PAGE_SHIFT) #define NKMEMPAGES_MAX_DEFAULT ((8 * 1024 * 1024) >> PAGE_SHIFT) -#define NKMEMPAGES_MAX_DEFAULT_SUN4M ((64 * 1024 * 1024) >> PAGE_SHIFT) +#define NKMEMPAGES_MAX_DEFAULT_SUN4M ((24 * 1024 * 1024) >> PAGE_SHIFT) /* pages ("clicks") to disk blocks */ #define ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT)) -- cgit v1.2.3