cvs commit: src/sys/netinet tcp_input.c
Robert Watson
rwatson at FreeBSD.org
Sat Dec 25 14:23:13 PST 2004
rwatson 2004-12-25 22:23:13 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_input.c
Log:
Revert parts of tcp_input.c:1.255 associated with the header predicted
cases for tcp_input():
While it is true that the pcbinfo lock provides a pseudo-reference to
inpcbs, both the inpcb and pcbinfo locks are required to free an
un-referenced inpcb. As such, we can release the pcbinfo lock as
long as the inpcb remains locked with the confidence that it will not
be garbage-collected. This leads to a less conservative locking
strategy that should reduce contention on the TCP pcbinfo lock.
Discussed with: sam
Revision Changes Path
1.262 +7 -2 src/sys/netinet/tcp_input.c
More information about the cvs-src
mailing list