Bring back the comment on the sizing of the callout array that got

lost in r248031.

Requested by:	alc, alfred
This commit is contained in:
Andre Oppermann 2013-03-10 22:55:35 +00:00
parent 9f585991ba
commit a7aea132cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248141

View File

@ -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);