diff options
author | Eric Dumazet <[email protected]> | 2022-11-10 17:48:29 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-11-11 21:37:49 -0800 |
commit | fac30731b9b8a0b7580bf73ddd25035ef0a733a5 (patch) | |
tree | c6cd1d4c0e58f97e816143603694ee588b203c08 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 3e35f26d339718e155fa7cf5993a99924124a041 (diff) |
tcp: adopt try_cmpxchg() in tcp_release_cb()
try_cmpxchg() is slighly more efficient (at least on x86),
and smp_load_acquire(&sk->sk_tsq_flags) could avoid a KCSAN report.
Signed-off-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions