[PATCH bpf-next v2 1/2] bpf: move recursion detection logic to helpers
Yonghong Song
yonghong.song at linux.dev
Thu Dec 18 09:44:04 PST 2025
On 12/17/25 3:35 PM, Puranjay Mohan wrote:
> BPF programs detect recursion by doing atomic inc/dec on a per-cpu
> active counter from the trampoline. Create two helpers for operations on
> this active counter, this makes it easy to changes the recursion
> detection logic in future.
>
> This change makes no functional changes.
>
> Signed-off-by: Puranjay Mohan <puranjay at kernel.org>
Acked-by: Yonghong Song <yonghong.song at linux.dev>
More information about the linux-arm-kernel
mailing list