diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-12-25 22:23:13 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-12-25 22:23:13 +0000 |
commit | 203f380ce71b4a11bc70a767c0af75c72d657c74 (patch) | |
tree | 1ced03b25cdcb7f070a1fabf142c8060bc0766e2 /sys/libkern/mcount.c | |
parent | c2be0afd648e4aa48678507e52adee803e59a609 (diff) | |
download | FreeBSD-src-203f380ce71b4a11bc70a767c0af75c72d657c74.zip FreeBSD-src-203f380ce71b4a11bc70a767c0af75c72d657c74.tar.gz |
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
Diffstat (limited to 'sys/libkern/mcount.c')
0 files changed, 0 insertions, 0 deletions