Thread (79 messages) 79 messages, 7 authors, 2023-04-14

Re: [RFC PATCH v2 04/48] net: Declare MSG_SPLICE_PAGES internal sendmsg() flag

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2023-03-30 17:52:08
Also in: linux-fsdevel, linux-mm, lkml

David Howells wrote:
Willem de Bruijn [off-list ref] wrote:
quoted
No need to modify __sys_sendmmsg explicitly, as it ends up calling
__sys_sendmsg?

Also, sendpage does this flags masking in the internal sock_FUNC
helpers rather than __sys_FUNC. Might be preferable.
I was wondering whether other flags, such as MSG_BATCH should be added to the
list.  Is it bad if userspace sets that in sendmsg()?  AF_KCM, at least, looks
at it.
That flag was added exactly for AF_KCM. A process that explicitly
sets it might experience bad behavior (increased latency), but
there are no legacy AF_KCM applications that precede the flag.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help