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); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"