diff options
author | 2024-05-07 13:27:17 +0000 | |
---|---|---|
committer | 2024-05-08 18:50:11 -0700 | |
commit | e2d09e5a1e8fb17a807dc4dce8dbc39d9fea3788 (patch) | |
tree | 3bdcffc85e18df96748c5a80da609a0d19400317 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: dst_cache: annotate data-races around dst_cache->reset_ts (diff) | |
download | wireguard-linux-e2d09e5a1e8fb17a807dc4dce8dbc39d9fea3788.tar.xz wireguard-linux-e2d09e5a1e8fb17a807dc4dce8dbc39d9fea3788.zip |
net: dst_cache: minor optimization in dst_cache_set_ip6()
There is no need to use this_cpu_ptr(dst_cache->cache) twice.
Compiler is unable to optimize the second call, because of
per-cpu constraints.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/20240507132717.627518-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions