increase NKMEMPAGES_MAX_DEFAULT to 32 MB. this is needed on sun4m machines

with 512 MB of RAM, and it doesn't seem to cause any problems on sun4c.
This commit is contained in:
chs 2006-01-13 15:45:56 +00:00
parent 4930ad54bc
commit 67a406aaae

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.63 2005/12/11 12:19:05 christos Exp $ */
/* $NetBSD: param.h,v 1.64 2006/01/13 15:45:56 chs Exp $ */
/*
* Copyright (c) 1992, 1993
@ -142,7 +142,7 @@ extern int nbpg, pgofset, pgshift;
* logical pages.
*/
#define NKMEMPAGES_MIN_DEFAULT ((6 * 1024 * 1024) >> PAGE_SHIFT)
#define NKMEMPAGES_MAX_DEFAULT ((6 * 1024 * 1024) >> PAGE_SHIFT)
#define NKMEMPAGES_MAX_DEFAULT ((32 * 1024 * 1024) >> PAGE_SHIFT)
/* pages ("clicks") to disk blocks */
#define ctod(x) ((x) << (PGSHIFT - DEV_BSHIFT))