summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_queue.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-09 12:00:38 +0000
committerglebius <glebius@FreeBSD.org>2013-10-09 12:00:38 +0000
commit2f1b9cddbb78f0cc1bbefaec5f9e4ab0fcf3ed48 (patch)
tree6119b672834a51bda84fad07cfd77fb0fa8f863e /sys/cam/cam_queue.h
parent0216035e665dc869f340e168960a39630e822232 (diff)
downloadFreeBSD-src-2f1b9cddbb78f0cc1bbefaec5f9e4ab0fcf3ed48.zip
FreeBSD-src-2f1b9cddbb78f0cc1bbefaec5f9e4ab0fcf3ed48.tar.gz
When processing ACK in tcp_do_segment, use sbcut_locked() instead of
sbdrop_locked() to cut acked mbufs from the socket buffer. Free this chain a batch manner after the socket buffer lock is dropped. This measurably reduces contention on socket buffer. Sponsored by: Netflix Sponsored by: Nginx, Inc. Approved by: re (marius)
Diffstat (limited to 'sys/cam/cam_queue.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud