summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/unlocked-io.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-04-10 18:15:35 +0000
committerjhb <jhb@FreeBSD.org>2014-04-10 18:15:35 +0000
commit7d16e10f8906f2f35e5aa2d79c8c567979091666 (patch)
treec70bc3440a40fdcfa85bfb76b69c740b1a115702 /contrib/diff/lib/unlocked-io.h
parentb8313a5a982bf64db3f5b731376d067a7b3578e7 (diff)
downloadFreeBSD-src-7d16e10f8906f2f35e5aa2d79c8c567979091666.zip
FreeBSD-src-7d16e10f8906f2f35e5aa2d79c8c567979091666.tar.gz
Currently, the TCP slow timer can starve TCP input processing while it
walks the list of connections in TIME_WAIT closing expired connections due to contention on the global TCP pcbinfo lock. To remediate, introduce a new global lock to protect the list of connections in TIME_WAIT. Only acquire the TCP pcbinfo lock when closing an expired connection. This limits the window of time when TCP input processing is stopped to the amount of time needed to close a single connection. Submitted by: Julien Charbon <jcharbon@verisign.com> Reviewed by: rwatson, rrs, adrian MFC after: 2 months
Diffstat (limited to 'contrib/diff/lib/unlocked-io.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud