Page MenuHomeFreeBSD

socket: Split up sosend_generic()
ClosedPublic

Authored by markj on Aug 15 2024, 2:12 PM.
Tags
None
Referenced Files
F147232544: D46305.id.diff
Mon, Mar 9, 7:50 AM
F147199308: D46305.id.diff
Mon, Mar 9, 1:33 AM
Unknown Object (File)
Tue, Feb 10, 10:43 PM
Unknown Object (File)
Jan 15 2026, 11:47 PM
Unknown Object (File)
Jan 8 2026, 2:43 AM
Unknown Object (File)
Jan 6 2026, 11:32 AM
Unknown Object (File)
Dec 30 2025, 6:50 PM
Unknown Object (File)
Dec 14 2025, 1:17 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