summaryrefslogtreecommitdiffstats
path: root/sys/conf/param.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2000-03-27 13:56:10 +0000
committermickey <mickey@openbsd.org>2000-03-27 13:56:10 +0000
commit890a57414a462fb464bb156c3253325b5743d753 (patch)
tree884ff6a070ebe1a0adca409b596f50791aa49f97 /sys/conf/param.c
parentreadd libcom_err support. ok with hin@ -moj. (diff)
downloadwireguard-openbsd-890a57414a462fb464bb156c3253325b5743d753.tar.xz
wireguard-openbsd-890a57414a462fb464bb156c3253325b5743d753.zip
no vm_cache_max in uvm; ok art@
Diffstat (limited to 'sys/conf/param.c')
-rw-r--r--sys/conf/param.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c
index 2805b2ff517..0e5a9638600 100644
--- a/sys/conf/param.c
+++ b/sys/conf/param.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.c,v 1.9 2000/03/23 09:59:56 art Exp $ */
+/* $OpenBSD: param.c,v 1.10 2000/03/27 13:56:10 mickey Exp $ */
/* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */
/*
@@ -92,7 +92,9 @@ struct timezone tz = { TIMEZONE, DST };
#define NPROC (20 + 16 * MAXUSERS)
int maxproc = NPROC;
#define NTEXT (80 + NPROC / 8) /* actually the object cache */
+#ifndef UVM
int vm_cache_max = NTEXT; /* XXX these probably needs some measurements */
+#endif
#define NVNODE (NPROC * 2 + NTEXT + 100)
int desiredvnodes = NVNODE;
int maxfiles = 3 * (NPROC + MAXUSERS) + 80;