diff options
author | Eric Dumazet <[email protected]> | 2024-10-29 19:14:25 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-31 19:19:36 -0700 |
commit | a911bad094b010e276f072fe9a599b66e59ed5fe (patch) | |
tree | f051548cb035f254931272820d95f062751c854e /tools/perf/scripts/python/intel-pt-events.py | |
parent | 4138e9ec00936c9fe7d0fe961e32f381b1e36926 (diff) |
dql: annotate data-races around dql->last_obj_cnt
dql->last_obj_cnt is read/written from different contexts,
without any lock synchronization.
Use READ_ONCE()/WRITE_ONCE() to avoid load/store tearing.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Joe Damato <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions