thorpej 16c229ea7c Optimization suggested by Bill Sommerfeld: Keep a hint as to the
"earliest" firing callout in a bucket.  This allows us to skip
the scan up the bucket if no callouts are due in the bucket.

A cheap O(1) hint update is done at callout insertion (if new callout
is earlier than hint) and removal (is bucket empty).  A thorough
refresh of the hint is done when the bucket is traversed.

This doesn't matter much on machines with small values of hz
(e.g. i386), but on systems with large values of hz (e.g. Alpha),
it has a definite positive effect.

Also, keep the callwheel stats in evcnts, so that you can view them
with "vmstat -e".
2001-09-11 04:32:19 +00:00
..
2001-07-14 02:06:34 +00:00
2001-07-29 21:24:23 +00:00
2001-07-14 03:05:31 +00:00
2001-08-16 01:37:50 +00:00
2001-07-07 23:33:54 +00:00
2001-07-08 17:41:14 +00:00
2001-07-24 16:43:02 +00:00
2001-07-18 05:34:58 +00:00
2001-07-27 21:19:09 +00:00
2001-07-09 10:54:12 +00:00
2001-07-18 06:51:38 +00:00
2001-07-22 13:33:58 +00:00
2001-07-18 06:48:27 +00:00
2001-07-18 06:51:38 +00:00