[PATCH 0/2] selftests/perf_events: fix test fail with optimizations
From: Eva Kurchatova
Date: Sun May 24 2026 - 13:02:45 EST
This patchset fixes incorrect atomics and volatile usage, which caused
test failures when compiler optimizations were enabled previously.
Eva Kurchatova (2):
selftests/perf_events: fix sigtrap_threads tests fail with -O2
selftests/perf_events: replace volatile with READ_ONCE/WRITE_ONCE
.../selftests/perf_events/sigtrap_threads.c | 42 ++++++++++---------
1 file changed, 23 insertions(+), 19 deletions(-)
--
2.54.0