Page MenuHomeFreeBSD

socket: Split up sosend_generic()
ClosedPublic

Authored by markj on Aug 15 2024, 2:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 3, 2:27 PM
Unknown Object (File)
Thu, Oct 2, 3:51 AM
Unknown Object (File)
Mon, Sep 15, 6:16 PM
Unknown Object (File)
Sep 12 2025, 6:59 AM
Unknown Object (File)
Sep 10 2025, 8:29 PM
Unknown Object (File)
Aug 30 2025, 7:33 PM
Unknown Object (File)
Aug 24 2025, 5:16 AM
Unknown Object (File)
Aug 20 2025, 8:30 AM
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