You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change to send (or sendto, sendmsg, sendmmsg) itself is trivial. Pass the new flag.
Also:
Copy avoidance is not a free lunch. As implemented, with page pinning, it replaces per byte copy cost with page accounting and completion notification overhead. As a result, MSG_ZEROCOPY is generally only effective at writes over around 10 KB.
https://www.kernel.org/doc/html/latest/networking/msg_zerocopy.html
The documention uses send(), can this also be used with sendmsg()?
The text was updated successfully, but these errors were encountered: