aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-10-09 18:44:03 +0000
committerJakub Kicinski <[email protected]>2024-10-11 15:35:05 -0700
commite60ea45447768c48309b944596a8a34f6bae50e2 (patch)
treefc1830061b00718564b760fe1239ffcbdb37f321 /tools/perf/scripts/python/parallel-perf.py
parent16207384d29287a19f81436e1953b41946aa8258 (diff)
ipv6: use READ_ONCE()/WRITE_ONCE() on fib6_table->fib_seq
Using RTNL to protect ops->fib_rules_seq reads seems a big hammer. Writes are protected by RTNL. We can use READ_ONCE() when reading it. Constify 'struct net' argument of fib6_tables_seq_read() and fib6_rules_seq_read(). 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