Re: [PATCH bpf v2] bpf, riscv: Make arena support depend on ZACAS

From: patchwork-bot+netdevbpf

Date: Sun Sep 06 2026 - 10:32:56 EST


Hello:

This patch was applied to bpf/bpf.git (master)
by Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>:

On Wed, 2 Sep 2026 14:14:51 +0800 you wrote:
> The arena range tree allocates its nodes with kmalloc_nolock() since
> commit f8c67d8550ee ("bpf: Use kmalloc_nolock() in range tree").
> kmalloc_nolock() requires slab caches with cmpxchg128 support
> (__CMPXCHG_DOUBLE); on riscv cmpxchg128 is provided by the ZACAS
> extension. On systems without ZACAS every arena map creation fails
> with a misleading -ENOMEM.
>
> [...]

Here is the summary with links:
- [bpf,v2] bpf, riscv: Make arena support depend on ZACAS
https://git.kernel.org/bpf/bpf/c/536b523b4073

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html