Page MenuHomeFreeBSD

socket: Split up sosend_generic()
ClosedPublic

Authored by markj on Aug 15 2024, 2:12 PM.
Tags
None
Referenced Files
F102465282: D46305.diff
Tue, Nov 12, 4:13 PM
Unknown Object (File)
Wed, Nov 6, 12:08 AM
Unknown Object (File)
Mon, Nov 4, 7:06 PM
Unknown Object (File)
Fri, Oct 18, 7:05 PM
Unknown Object (File)
Fri, Oct 18, 1:08 AM
Unknown Object (File)
Sep 26 2024, 10:42 PM
Unknown Object (File)
Sep 26 2024, 5:39 AM
Unknown Object (File)
Sep 25 2024, 7:54 PM
Subscribers

Details

Summary

Factor out the bits that run with the sock I/O lock held into a separate
function. In this implementation, we are doing a bit more work under
the I/O lock than before. However, lock contention is only a problem
when multiple threads are transmitting on the same socket, which is an
unusual case that is not expected to perform well in any case.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable