summaryrefslogtreecommitdiff
path: root/block/fops.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-06-27 13:59:43 +0100
committerPaolo Abeni <pabeni@redhat.com>2024-07-02 12:06:50 +0200
commitaeb320fc05c74e1d3b429aa0e3a777b8a931c189 (patch)
treec653020dc9e79e01e3bccbfca123f887a53b1702 /block/fops.c
parent7fb05423fed41686ccc1a76c20d486728f62023f (diff)
net: batch zerocopy_fill_skb_from_iter accounting
Instead of accounting every page range against the socket separately, do it in batch based on the change in skb->truesize. It's also moved into __zerocopy_sg_from_iter(), so that zerocopy_fill_skb_from_iter() is simpler and responsible for setting frags but not the accounting. 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 'block/fops.c')
0 files changed, 0 insertions, 0 deletions