From 7beb673ee2a6f26cb92ffbcee12d36dd3f705fd8 Mon Sep 17 00:00:00 2001 From: Mats O Jansson Date: Sun, 17 Feb 2002 22:59:54 +0000 Subject: Patch from Daniel Lucq The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@ --- sys/arch/sparc64/include/vmparam.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/sparc64/include') diff --git a/sys/arch/sparc64/include/vmparam.h b/sys/arch/sparc64/include/vmparam.h index c790d9b071c..8889e84b2ce 100644 --- a/sys/arch/sparc64/include/vmparam.h +++ b/sys/arch/sparc64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.6 2002/02/11 01:23:36 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.7 2002/02/17 22:59:53 maja Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2001/05/01 02:19:19 thorpej Exp $ */ /* @@ -152,8 +152,6 @@ #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)KERNBASE) #define VM_MAX_KERNEL_ADDRESS ((vaddr_t)KERNEND) -#define VM_MBUF_SIZE (NMBCLUSTERS*MCLBYTES) - #define VM_PHYSSEG_MAX 32 /* up to 32 segments */ #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH #define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */ -- cgit v1.2.3