Re: [PATCH v2 09/15] tools/rv: Copy stripped bpf_atomic.h from libarena
From: Nam Cao
Date: Wed Oct 07 2026 - 10:00:42 EST
Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:
> Add bpf_atomic.h including atomic read/write macros like READ_ONCE() and
> try_cmpxchg(). This version is a stripped down copy of the one currently
> present in selftests/bpf/libarena.
Instead of this, what do you think about using C11's atomic stuffs? I
prefer standardized stuff when it is an option.
Nam