On Sun, 24 May 2026 at 19:02, Eva Kurchatova
<eva.kurchatova@virtuozzo.com> wrote:
>
> 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(-)
Reviewed-by: Marco Elver <elver@google.com>
Thanks for the fix.