summaryrefslogtreecommitdiffstats
path: root/drivers/misc/vmw_balloon.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-06-27 14:59:43 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-07-02 12:06:50 +0200
commitaeb320fc05c74e1d3b429aa0e3a777b8a931c189 (patch)
treec653020dc9e79e01e3bccbfca123f887a53b1702 /drivers/misc/vmw_balloon.c
parentnet: split __zerocopy_sg_from_iter() (diff)
downloadlinux-aeb320fc05c74e1d3b429aa0e3a777b8a931c189.tar.xz
linux-aeb320fc05c74e1d3b429aa0e3a777b8a931c189.zip
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 'drivers/misc/vmw_balloon.c')
0 files changed, 0 insertions, 0 deletions