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

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sun Sep 6 07:30:06 PDT 2026


Hello:

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

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





More information about the linux-riscv mailing list