aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-10-09 18:44:01 +0000
committerJakub Kicinski <[email protected]>2024-10-11 15:35:05 -0700
commita716ff52bebfe806fbcf5227cee4c7bda4e6724b (patch)
tree4f920860cbc8091b53dee41009490791a29598fc /tools/perf/scripts/python/parallel-perf.py
parentd677aebd663ddc287f2b2bda098474694a0ca875 (diff)
fib: rules: use READ_ONCE()/WRITE_ONCE() on ops->fib_rules_seq
Using RTNL to protect ops->fib_rules_seq reads seems a big hammer. Writes are protected by RTNL. We can use READ_ONCE() on readers. Constify 'struct net' argument of fib_rules_seq_read() and lookup_rules_ops(). Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions