1b84adbe5f
done by Artur Grabowski and Thomas Nordin for OpenBSD, which is more efficient in several ways than the callwheel implementation that it is replacing. It has been adapted to our pre-existing callout API, and also provides the slightly more efficient (and much more intuitive) API (adapted to the callout_*() naming scheme) that the OpenBSD version provides. Among other things, this shaves a bunch of cycles off rescheduling-in- the-future a callout which is already scheduled, which the common case for TCP timers (notably REXMT and KEEP). The API has been simplified a bit, as well. The (very confusing to a good many people) "ACTIVE" state for callouts has gone away. There is now only "PENDING" (scheduled to fire in the future) and "EXPIRED" (has fired, and the function called). Kernel version bump not done; we'll ride the 1.6N bump that happened with the malloc(9) change. |
||
---|---|---|
.. | ||
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 |