aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2022-01-27 00:36:30 +0000
committerJakub Kicinski <[email protected]>2022-01-27 19:46:11 -0800
commit40ac240c2e06e4b5477705da1b37fb1d160572de (patch)
tree5afd911fc5b755701078c2b2dd7fcdde58b70fd4 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent5298953e742dc9211d3b724fb5394da8a1f3ed04 (diff)
ipv6: optimise dst refcounting on cork init
udpv6_sendmsg() doesn't need dst after calling ip6_make_skb(), so instead of taking an additional reference inside ip6_setup_cork() and releasing the initial one afterwards, we can hand over a reference into ip6_make_skb() saving two atomics. The only other user of ip6_setup_cork() is ip6_append_data() and it requires an extra dst_hold(). Signed-off-by: Pavel Begunkov <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions