svn commit: r248141 - head/sys/kern

Andre Oppermann andre at FreeBSD.org
Sun Mar 10 22:55:36 UTC 2013


Author: andre
Date: Sun Mar 10 22:55:35 2013
New Revision: 248141
URL: http://svnweb.freebsd.org/changeset/base/248141

Log:
  Bring back the comment on the sizing of the callout array that got
  lost in r248031.
  
  Requested by:	alc, alfred

Modified:
  head/sys/kern/kern_timeout.c

Modified: head/sys/kern/kern_timeout.c
==============================================================================
--- head/sys/kern/kern_timeout.c	Sun Mar 10 21:07:44 2013	(r248140)
+++ head/sys/kern/kern_timeout.c	Sun Mar 10 22:55:35 2013	(r248141)
@@ -258,6 +258,8 @@ callout_callwheel_init(void *dummy)
 	/*
 	 * Calculate the size of the callout wheel and the preallocated
 	 * timeout() structures.
+	 * XXX: Clip callout to result of previous function of maxusers
+	 * maximum 384.  This is still huge, but acceptable.
 	 */
 	ncallout = imin(16 + maxproc + maxfiles, 18508);
 	TUNABLE_INT_FETCH("kern.ncallout", &ncallout);


More information about the svn-src-all mailing list