Date: Sun, 10 Mar 2013 22:55:35 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r248141 - head/sys/kern Message-ID: <201303102255.r2AMtZEt081609@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303102255.r2AMtZEt081609>