diff options
| author | Ian Rogers <[email protected]> | 2023-01-14 13:52:51 -0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-01-19 13:42:06 -0300 |
| commit | 1962ab6f6e0b39e4216206205bda14aff87705f3 (patch) | |
| tree | c2fc06a3070b5a4956507595c00b5967eb1b89f3 /tools/perf/scripts/python | |
| parent | 316769f75718f16e4e7d6a55d39053fe8a1d8b1c (diff) | |
perf test workload thloop: Make count increments atomic
The count variable is incremented by multiple threads, doing so
without an atomic operation causes thread sanitizer warnings. Switch
to using relaxed atomics.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions