summaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-28 22:40:05 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-28 22:40:05 +0000
commitc37c003e4efd5ff93b0cd76973ac7a4a6a2a0895 (patch)
treec989d421d0b32db2ba1391b36ee8c88306acca22 /sys/vm
parent0ce193f0bc210256227c73574cbe2b3a6c51031d (diff)
move vm_cache_max into param.c
make it maxusers adaptive note, that NTEXT approximation is probably not the best idea
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 951a84e0939..c9717cc13dc 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_object.c,v 1.15 1997/04/17 01:25:20 niklas Exp $ */
+/* $OpenBSD: vm_object.c,v 1.16 1997/05/28 22:40:04 mickey Exp $ */
/* $NetBSD: vm_object.c,v 1.46 1997/03/30 20:56:12 mycroft Exp $ */
/*-
@@ -139,7 +139,7 @@ struct vm_object kmem_object_store;
#define VM_OBJECT_HASH_COUNT 157
-int vm_cache_max = 100; /* can patch if necessary */
+extern int vm_cache_max; /* now in param.c */
struct vm_object_hash_head vm_object_hashtable[VM_OBJECT_HASH_COUNT];
long object_collapses = 0;