aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorKP Singh <[email protected]>2022-04-18 15:51:58 +0000
committerAlexei Starovoitov <[email protected]>2022-04-19 17:55:45 -0700
commitdcf456c9a095a6e71f53d6f6f004133ee851ee70 (patch)
tree9050bc91c5fb6751e8ab4a6076837645ef34dd19 /tools/perf/scripts/python/check-perf-trace.py
parent0e5aefa334dba7fc07ee4ef52ae622f957fc865b (diff)
bpf: Fix usage of trace RCU in local storage.
bpf_{sk,task,inode}_storage_free() do not need to use call_rcu_tasks_trace as no BPF program should be accessing the owner as it's being destroyed. The only other reader at this point is bpf_local_storage_map_free() which uses normal RCU. The only path that needs trace RCU are: * bpf_local_storage_{delete,update} helpers * map_{delete,update}_elem() syscalls Fixes: 0fe4b381a59e ("bpf: Allow bpf_local_storage to be used by sleepable programs") Signed-off-by: KP Singh <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions