From 78151583cdbf7fec9bd8ed3de542bdb1dc8983f4 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 12 Sep 2005 23:05:07 +0000 Subject: Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bit arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime. --- sys/arch/sparc/include/param.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/sparc/include') diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h index 1063d837476..5987f2050c6 100644 --- a/sys/arch/sparc/include/param.h +++ b/sys/arch/sparc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.30 2005/07/31 15:31:17 miod Exp $ */ +/* $OpenBSD: param.h,v 1.31 2005/09/12 23:05:05 miod Exp $ */ /* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */ /* @@ -109,8 +109,9 @@ * Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized * logical pages. */ -#define NKMEMPAGES_MIN_DEFAULT ((6 * 1024 * 1024) >> PAGE_SHIFT) -#define NKMEMPAGES_MAX_DEFAULT ((6 * 1024 * 1024) >> PAGE_SHIFT) +#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) /* pages ("clicks") to disk blocks */ #define ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT)) -- cgit v1.2.3