diff options
author | Aleksandr Fedorov <afedorov@FreeBSD.org> | 2020-12-17 18:15:07 +0000 |
---|---|---|
committer | Aleksandr Fedorov <afedorov@FreeBSD.org> | 2020-12-17 18:15:07 +0000 |
commit | 3326f7e9bbd94a5059d104122bc5204108b3f448 (patch) | |
tree | 4d55aa6b73370b5dddf3d4bd75624167ba867c3f /stand | |
parent | 4dd8db62e9d36d9796503fe98ad0d18a4bd0da71 (diff) | |
download | src-test-3326f7e9bbd94a5059d104122bc5204108b3f448.tar.gz src-test-3326f7e9bbd94a5059d104122bc5204108b3f448.zip |
[ng_socket] Don't take the SOCKBUF_LOCK() twice in the RX data path.
This is just a minor optimization, but it's sensitive. This gives an improvement of 30-50 kpps.
Reviewed by: kp, markj, glebius, lutz_donnerhacke.de
Approved by: vmaffione (mentor)
Sponsored by: vstack.com
Differential Revision: https://reviews.freebsd.org/D27382
Notes
Notes:
svn path=/head/; revision=368727
Diffstat (limited to 'stand')
0 files changed, 0 insertions, 0 deletions