diff options
| author | Eric Dumazet <edumazet@google.com> | 2024-10-04 13:47:19 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-07 16:38:58 -0700 |
| commit | 143ca845ec0c625c410768c36e1a949ef4ed1915 (patch) | |
| tree | d0fb78fa33d6a2a7f16917f8cc53b8b5b2637713 /tools/perf/scripts/python/task-analyzer.py | |
| parent | ipv4: use rcu in ip_fib_check_default() (diff) | |
| download | linux-143ca845ec0c625c410768c36e1a949ef4ed1915.tar.gz linux-143ca845ec0c625c410768c36e1a949ef4ed1915.zip | |
ipv4: remove fib_info_lock
After the prior patch, fib_info_lock became redundant
because all of its users are holding RTNL.
BH protection is not needed.
Remove the READ_ONCE()/WRITE_ONCE() annotations around fib_info_cnt,
since it is protected by RTNL.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20241004134720.579244-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
