16c229ea7c
"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". |
||
---|---|---|
.. | ||
db_access.c | ||
db_access.h | ||
db_aout.c | ||
db_aout.h | ||
db_break.c | ||
db_break.h | ||
db_command.c | ||
db_command.h | ||
db_elf.c | ||
db_examine.c | ||
db_expr.c | ||
db_extern.h | ||
db_input.c | ||
db_interface.h | ||
db_lex.c | ||
db_lex.h | ||
db_output.c | ||
db_output.h | ||
db_print.c | ||
db_run.c | ||
db_run.h | ||
db_sym.c | ||
db_sym.h | ||
db_trap.c | ||
db_variables.c | ||
db_variables.h | ||
db_watch.c | ||
db_watch.h | ||
db_write_cmd.c | ||
db_xxx.c | ||
ddbvar.h | ||
TODO |