Subject: CVS commit: syssrc
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 02/11/2000 11:22:55
Module Name:	syssrc
Committed By:	thorpej
Date:		Fri Feb 11 19:22:55 UTC 2000

Modified Files:
	syssrc/sys/conf: files
	syssrc/sys/kern: kern_malloc.c
	syssrc/sys/sys: proc.h
	syssrc/sys/uvm: uvm_extern.h uvm_meter.c
	syssrc/sys/vm: vm_param.h

Log Message:
Add some very simple code to auto-size the kmem_map.  We take the
amount of physical memory, divide it by 4, and then allow machine
dependent code to place upper and lower bounds on the size.  Export
the computed value to userspace via the new "vm.nkmempages" sysctl.

NKMEMCLUSTERS is now deprecated and will generate an error if you
attempt to use it.  The new option, should you choose to use it,
is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and
NKMEMPAGES_MAX allow the user to configure the bounds in the kernel
config file.

To generate a diff of this commit:
cvs rdiff -r1.347 -r1.348 syssrc/sys/conf/files
cvs rdiff -r1.48 -r1.49 syssrc/sys/kern/kern_malloc.c
cvs rdiff -r1.85 -r1.86 syssrc/sys/sys/proc.h
cvs rdiff -r1.36 -r1.37 syssrc/sys/uvm/uvm_extern.h
cvs rdiff -r1.10 -r1.11 syssrc/sys/uvm/uvm_meter.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/vm/vm_param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.