Re: [PATCH bpf] selftests/bpf: Skip libarena when the BPF backend lacks 32-bit arena cmpxchg

From: Alexei Starovoitov

Date: Tue Jun 30 2026 - 14:06:54 EST


On Mon Jun 29, 2026 at 7:58 PM PDT, George Guo wrote:
> From: George Guo <guodongtai@xxxxxxxxxx>
>
> The arena qspinlock pulled in by libarena (bpf_arena_spin_lock.h) performs
> a 32-bit atomic compare-and-exchange on an arena (address space 1) pointer
> via atomic_try_cmpxchg_acquire() on the 32-bit atomic_t lock word. Not
> every LLVM BPF backend can select that operation; releases such as clang 19
> abort instruction selection with:

Sorry, you have to upgrade your test environment.
We won't be disabling tests because people still have old clang or old gcc
or other older tools in their setups.

pw-bot: cr