summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-01-27 03:36:29 +0300
committerJakub Kicinski <kuba@kernel.org>2022-01-28 06:46:11 +0300
commit5298953e742dc9211d3b724fb5394da8a1f3ed04 (patch)
tree94c45d64fd12ef2e4e08b913518733906aa8fcc8 /tools/perf/scripts/python/event_analyzing_sample.py
parentf37a4cc6bb0ba08c2d9fd7d18a1da87161cbb7f9 (diff)
downloadlinux-5298953e742dc9211d3b724fb5394da8a1f3ed04.tar.xz
udp6: don't make extra copies of iflow
udpv6_sendmsg() first initialises an on-stack 88B struct flowi6 and then copies it into cork, which is expensive. Avoid the copy in corkless case by initialising on-stack cork->fl directly. The main part is a couple of lines under !corkreq check. The rest converts fl6 variable to be a pointer. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions