diff options
author | Pavel Begunkov <[email protected]> | 2024-06-27 13:59:43 +0100 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-07-02 12:06:50 +0200 |
commit | aeb320fc05c74e1d3b429aa0e3a777b8a931c189 (patch) | |
tree | c653020dc9e79e01e3bccbfca123f887a53b1702 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 7fb05423fed41686ccc1a76c20d486728f62023f (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 <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions