cvs commit: src/sys/netinet tcp_usrreq.c

Robert Watson rwatson at FreeBSD.org
Sun May 1 04:11:39 PDT 2005


rwatson     2005-05-01 11:11:39 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_usrreq.c 
  Log:
  Slide unlocking of the tcbinfo lock earlier in tcp_usr_send(), as it's
  needed only for implicit connect cases.  Under load, especially on SMP,
  this can greatly reduce contention on the tcbinfo lock.
  
  NB: Ambiguities about the state of so_pcb need to be resolved so that
  all use of the tcbinfo lock in non-implicit connection cases can be
  eliminated.
  
  Submited by:    Kazuaki Oda <kaakun at highway dot ne dot jp>
  
  Revision  Changes    Path
  1.118     +13 -2     src/sys/netinet/tcp_usrreq.c


More information about the cvs-src mailing list