cvs commit: src/sys/netinet tcp_input.c tcp_output.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h

Sergey Matveychuk sem at FreeBSD.org
Wed Apr 11 14:08:56 UTC 2007


Please note, it broke build world.

Andre Oppermann wrote:
> andre       2007-04-11 09:45:16 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/netinet          tcp_input.c tcp_output.c tcp_sack.c 
>                          tcp_subr.c tcp_syncache.c tcp_timer.c 
>                          tcp_timer.h tcp_usrreq.c tcp_var.h 
>   Log:
>   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)
>   
>   Revision  Changes    Path
>   1.335     +22 -30    src/sys/netinet/tcp_input.c
>   1.132     +25 -28    src/sys/netinet/tcp_output.c
>   1.38      +1 -1      src/sys/netinet/tcp_sack.c
>   1.274     +14 -15    src/sys/netinet/tcp_subr.c
>   1.109     +1 -1      src/sys/netinet/tcp_syncache.c
>   1.90      +300 -176  src/sys/netinet/tcp_timer.c
>   1.33      +16 -5     src/sys/netinet/tcp_timer.h
>   1.150     +10 -8     src/sys/netinet/tcp_usrreq.c
>   1.142     +3 -7      src/sys/netinet/tcp_var.h
> _______________________________________________
> cvs-src at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-src
> To unsubscribe, send any mail to "cvs-src-unsubscribe at freebsd.org"


-- 
Dixi.
Sem.


More information about the cvs-src mailing list