diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2023-02-21 21:06:42 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-02-22 12:49:34 -0800 |
commit | 0a09a2f933c73dc76ab0b72da6855f44342a8903 (patch) | |
tree | bda3e74877477e36eeb46236cbaae764f91a62de /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bf9bec4cb3a401a14c24a7ef937d3c26aff9ad60 (diff) |
bpf: Annotate data races in bpf_local_storage
There are a few cases where hlist_node is checked to be unhashed without
holding the lock protecting its modification. In this case, one must use
hlist_unhashed_lockless to avoid load tearing and KCSAN reports. Fix
this by using lockless variant in places not protected by the lock.
Since this is not prompted by any actual KCSAN reports but only from
code review, I have not included a fixes tag.
Cc: Martin KaFai Lau <[email protected]>
Cc: KP Singh <[email protected]>
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions