aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-02-24 15:01:34 +0100
committerAlexei Starovoitov <[email protected]>2020-02-24 16:12:20 -0800
commitdbca151cad736c99f4817076daf9fd02ed0c2daa (patch)
tree1c700844ea53f82eec530d9fdf37d7776f9938df /tools/perf/scripts/python
parent2ed905c521e56aead6987df94c083efb0ee59895 (diff)
bpf: Update locking comment in hashtab code
The comment where the bucket lock is acquired says: /* bpf_map_update_elem() can be called in_irq() */ which is not really helpful and aside of that it does not explain the subtle details of the hash bucket locks expecially in the context of BPF and perf, kprobes and tracing. Add a comment at the top of the file which explains the protection scopes and the details how potential deadlocks are prevented. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions