It may be worth it to look at Solaris' cyclic facillity for ideas. sys/cddl/dev/cyclic/cyclic.c
--Artem On Wed, Mar 31, 2010 at 7:22 AM, Roman Divacky <[email protected]> wrote: > On Wed, Mar 31, 2010 at 04:05:33AM -0800, Tsuyoshi Ozawa wrote: >> Thank you for replying ! >> >> The patch for FreeBSD 8.0 original source is here : >> http://gist.github.com/350230 > > looks good > > I wonder - why don't we store the callouts in binary > tree so the searching for nearest callout is faster? > > what is the average length of the callout queue? > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[email protected]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

