From a7aea132cf8a3a0ef7467f5f7f8784fd8caeaa84 Mon Sep 17 00:00:00 2001 From: Andre Oppermann Date: Sun, 10 Mar 2013 22:55:35 +0000 Subject: [PATCH] Bring back the comment on the sizing of the callout array that got lost in r248031. Requested by: alc, alfred --- sys/kern/kern_timeout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 0fcefab284b..c603d34516f 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -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);