aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1998-02-23 07:42:43 +0000
committerJohn Dyson <dyson@FreeBSD.org>1998-02-23 07:42:43 +0000
commitd9bed5bee15bbabd48129c8b6b286359b2b159ec (patch)
tree109c388f342fae5530958ac7913a9681ea8db294 /sys/conf
parent8a58a9f6c9e2a525c1fe97265df28966a4b5c36f (diff)
downloadsrc-d9bed5bee15bbabd48129c8b6b286359b2b159ec.tar.gz
src-d9bed5bee15bbabd48129c8b6b286359b2b159ec.zip
Try to dynamically size the VM_KMEM_SIZE (but is still able to be overridden
in a way identically as before.) I had problems with the system properly handling the number of vnodes when there is alot of system memory, and the default VM_KMEM_SIZE. Two new options "VM_KMEM_SIZE_SCALE" and "VM_KMEM_SIZE_MAX" have been added to support better auto-sizing for systems with greater than 128MB. Add some accouting for vm_zone memory allocations, and provide properly for vm_zone allocations out of the kmem_map. Also move the vm_zone allocation stats to the VM OID tree from the KERN OID tree.
Notes
Notes: svn path=/head/; revision=33757
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/options b/sys/conf/options
index bb3addc0d1e0..507d9f42caa4 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -1,4 +1,4 @@
-# $Id: options,v 1.60 1998/02/12 18:02:04 eivind Exp $
+# $Id: options,v 1.61 1998/02/16 23:57:33 eivind Exp $
# Format:
# Option name filename
@@ -175,3 +175,8 @@ SI_DEBUG opt_debug_si.h
DEBUG opt_global.h
DIAGNOSTIC opt_global.h
SIMPLELOCK_DEBUG opt_global.h
+
+# These are VM related options
+VM_KMEM_SIZE opt_vm.h
+VM_KMEM_SIZE_SCALE opt_vm.h
+VM_KMEM_SIZE_MAX opt_vm.h