Page MenuHomeFreeBSD

socket: Split up sosend_generic()
ClosedPublic

Authored by markj on Aug 15 2024, 2:12 PM.
Tags
None
Referenced Files
F96425935: D46305.id142107.diff
Tue, Sep 24, 10:15 PM
Unknown Object (File)
Tue, Sep 24, 7:42 AM
Unknown Object (File)
Fri, Sep 20, 7:42 PM
Unknown Object (File)
Mon, Sep 16, 6:14 PM
Unknown Object (File)
Fri, Sep 13, 4:50 PM
Unknown Object (File)
Sun, Sep 8, 5:59 AM
Unknown Object (File)
Sat, Sep 7, 9:59 PM
Unknown Object (File)
Sat, Sep 7, 3:09 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