NetBSD/sys/ddb
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
..
TODO
db_access.c constify a little 2001-01-17 19:50:03 +00:00
db_access.h
db_aout.c constify a little 2001-01-17 19:50:03 +00:00
db_aout.h
db_break.c replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
db_break.h replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
db_command.c Add `show malloc' to dump the internal state of the MALLOC_DEBUG code. 2001-08-17 01:00:10 +00:00
db_command.h Add `show malloc' to dump the internal state of the MALLOC_DEBUG code. 2001-08-17 01:00:10 +00:00
db_elf.c Extra sanity checking on ELF headers: Make sure the bootloader actually 2001-07-31 22:31:47 +00:00
db_examine.c #include <systm.h> for string fn prototypes. 2001-02-24 00:00:12 +00:00
db_expr.c
db_extern.h
db_input.c
db_interface.h Add an easy way to dump the message buffer from ddb. 2001-07-31 04:28:16 +00:00
db_lex.c
db_lex.h
db_output.c allow one to #define DB_MAX_LINE and DB_MAX_WIDTH independantly. 2001-07-01 12:16:25 +00:00
db_output.h
db_print.c The current API for MD support doesn't directly support the documented /u 2001-05-13 01:38:53 +00:00
db_run.c
db_run.h put crud after #endif in comments 2001-02-15 21:59:38 +00:00
db_sym.c Add a port to IBM's PPC405GP Reference Board (the "walnut") 2001-06-13 06:01:44 +00:00
db_sym.h constify a little 2001-01-17 19:50:03 +00:00
db_trap.c
db_variables.c fix invalid reference to $fromconsole via DDB 2001-04-11 23:02:12 +00:00
db_variables.h The current API for MD support doesn't directly support the documented /u 2001-05-13 01:38:53 +00:00
db_watch.c Update pmap_update to now take the updated pmap as an argument. 2001-09-10 21:19:08 +00:00
db_watch.h replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
db_write_cmd.c
db_xxx.c Optimization suggested by Bill Sommerfeld: Keep a hint as to the 2001-09-11 04:32:19 +00:00
ddbvar.h