diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 13:11:10 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-23 20:48:27 -0700 |
commit | b841b901c452d92610f739a36e54978453528876 (patch) | |
tree | d83c772ba708edabc53eefbc86a1bb15b4413d7c /Documentation | |
parent | 57910a47ffe993c2724a916b9e003d84ff0c0df7 (diff) | |
download | lwn-b841b901c452d92610f739a36e54978453528876.tar.gz lwn-b841b901c452d92610f739a36e54978453528876.zip |
net: Declare MSG_SPLICE_PAGES internal sendmsg() flag
Declare MSG_SPLICE_PAGES, an internal sendmsg() flag, that hints to a
network protocol that it should splice pages from the source iterator
rather than copying the data if it can. This flag is added to a list that
is cleared by sendmsg syscalls on entry.
This is intended as a replacement for the ->sendpage() op, allowing a way
to splice in several multipage folios in one go.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions