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)
Thu, Apr 10, 2:39 PM
Unknown Object (File)
Feb 9 2025, 7:25 AM
Unknown Object (File)
Feb 9 2025, 7:25 AM
Unknown Object (File)
Jan 29 2025, 7:10 AM
Unknown Object (File)
Jan 29 2025, 6:49 AM
Unknown Object (File)
Jan 29 2025, 5:32 AM
Unknown Object (File)
Jan 24 2025, 5:11 PM
Unknown Object (File)
Jan 18 2025, 9:49 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