Date: Sun, 1 May 2005 11:11:39 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_usrreq.c Message-ID: <200505011111.j41BBdLJ041038@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505011111.j41BBdLJ041038>
