Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2007 09:45:16 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200704110945.l3B9jGwE015632@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704110945.l3B9jGwE015632>