diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-28 12:57:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-02 23:36:24 +0200 |
commit | 829b7bdd70449c211eb6b2673fcbc597ce120939 (patch) | |
tree | b0f32cba453e0e9472cd6d0f76db77c6ef7c2bf2 /net/ipv6 | |
parent | octeontx2-af: debugfs: fix error return of allocations (diff) | |
download | linux-829b7bdd70449c211eb6b2673fcbc597ce120939.tar.xz linux-829b7bdd70449c211eb6b2673fcbc597ce120939.zip |
tcp: optimise skb_zerocopy_iter_stream()
It's expensive to make a copy of 40B struct iov_iter to the point it
was taking 0.2-0.5% of all cycles in my tests. iov_iter_revert() should
be fine as it's a simple case without nested reverts/truncates.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a7e1690c00c5dfe700c30eb9a8a81ec59f6545dd.1650884401.git.asml.silence@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions