mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue