]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'bpf-verifier-allow-calling-arena-functions-when-holding-bpf-lock'
authorAlexei Starovoitov <ast@kernel.org>
Wed, 7 Jan 2026 01:42:55 +0000 (17:42 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 7 Jan 2026 01:44:20 +0000 (17:44 -0800)
commita8d506759231124efb911a3bd14d1ec2d9de15a1
tree0e453f4c69264feebf84df75d99a687e0ade6399
parentea180ffbd27ce5abf2a06329fe1fc8d20dc9becf
parentb81d5e9d965e0af2c1f21fc392a23e598171f9d6
Merge branch 'bpf-verifier-allow-calling-arena-functions-when-holding-bpf-lock'

Emil Tsalapatis says:

====================
bpf/verifier: Allow calling arena functions when holding BPF lock

BPF arena-related kfuncs now cannot sleep, so they are safe to call
while holding a spinlock. However, the verifier still rejects
programs that do so. Update the verifier to allow arena kfunc
calls while holding a lock.

Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
Changes v1->v2: (https://lore.kernel.org/r/20260106-arena-under-lock-v1-0-6ca9c121d826@etsalapatis.com)
- Added patch to account for active locks in_sleepable_context() (AI)
====================

Link: https://patch.msgid.link/20260106-arena-under-lock-v2-0-378e9eab3066@etsalapatis.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>