diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-06-27 14:59:44 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-07-02 12:06:50 +0200 |
commit | 060f4ba6e40338a70932603a3564903acf5f5734 (patch) | |
tree | 49961bfad8963995619d8d271cf3ace69d6b2f49 /scripts/kernel-doc | |
parent | net: batch zerocopy_fill_skb_from_iter accounting (diff) | |
download | linux-060f4ba6e40338a70932603a3564903acf5f5734.tar.xz linux-060f4ba6e40338a70932603a3564903acf5f5734.zip |
io_uring/net: move charging socket out of zc io_uring
Currently, io_uring's io_sg_from_iter() duplicates the part of
__zerocopy_sg_from_iter() charging pages to the socket. It'd be too easy
to miss while changing it in net/, the chunk is not the most
straightforward for outside users and full of internal implementation
details. io_uring is not a good place to keep it, deduplicate it by
moving out of the callback into __zerocopy_sg_from_iter().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions