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:
parent
9f585991ba
commit
a7aea132cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248141
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user