svn commit: r228324 - head/sys/kern

Alan Cox alc at FreeBSD.org
Wed Dec 7 16:27:24 UTC 2011


Author: alc
Date: Wed Dec  7 16:27:23 2011
New Revision: 228324
URL: http://svn.freebsd.org/changeset/base/228324

Log:
  Eliminate stale numbers from a comment.

Modified:
  head/sys/kern/kern_malloc.c

Modified: head/sys/kern/kern_malloc.c
==============================================================================
--- head/sys/kern/kern_malloc.c	Wed Dec  7 16:12:54 2011	(r228323)
+++ head/sys/kern/kern_malloc.c	Wed Dec  7 16:27:23 2011	(r228324)
@@ -698,12 +698,9 @@ kmeminit(void *dummy)
 
 	/*
 	 * Try to auto-tune the kernel memory size, so that it is
-	 * more applicable for a wider range of machine sizes.
-	 * On an X86, a VM_KMEM_SIZE_SCALE value of 4 is good, while
-	 * a VM_KMEM_SIZE of 12MB is a fair compromise.  The
+	 * more applicable for a wider range of machine sizes.  The
 	 * VM_KMEM_SIZE_MAX is dependent on the maximum KVA space
-	 * available, and on an X86 with a total KVA space of 256MB,
-	 * try to keep VM_KMEM_SIZE_MAX at 80MB or below.
+	 * available.
 	 *
 	 * Note that the kmem_map is also used by the zone allocator,
 	 * so make sure that there is enough space.


More information about the svn-src-head mailing list