diff options
author | andre <andre@FreeBSD.org> | 2007-04-11 09:45:16 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2007-04-11 09:45:16 +0000 |
commit | bd6041301a0ba459f34d99a6e4e526ebaafc48b0 (patch) | |
tree | db2065ed42263113dca9aaa7ad58c859f3975c57 /usr.sbin/pmccontrol | |
parent | bda6bd3e38175b52aef99a649001fdc4143dfb11 (diff) | |
download | FreeBSD-src-bd6041301a0ba459f34d99a6e4e526ebaafc48b0.zip FreeBSD-src-bd6041301a0ba459f34d99a6e4e526ebaafc48b0.tar.gz |
Change the TCP timer system from using the callout system five times
directly to a merged model where only one callout, the next to fire,
is registered.
Instead of callout_reset(9) and callout_stop(9) the new function
tcp_timer_activate() is used which then internally manages the callout.
The single new callout is a mutex callout on inpcb simplifying the
locking a bit.
tcp_timer() is the called function which handles all race conditions
in one place and then dispatches the individual timer functions.
Reviewed by: rwatson (earlier version)
Diffstat (limited to 'usr.sbin/pmccontrol')
0 files changed, 0 insertions, 0 deletions