From: Alexei Starovoitov Date: Sat, 21 Mar 2026 20:09:35 +0000 (-0700) Subject: Merge branch 'bpf-consolidate-sleepable-context-checks-in-verifier' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21337b58f596155062cd02f38db3726c5b5c7ec6;p=thirdparty%2Flinux.git Merge branch 'bpf-consolidate-sleepable-context-checks-in-verifier' Puranjay Mohan says: ==================== bpf: Consolidate sleepable context checks in verifier The BPF verifier has multiple call-checking functions that independently validate whether sleepable operations are permitted in the current context. Each function open-codes its own checks against active_rcu_locks, active_preempt_locks, active_irq_id, and in_sleepable, duplicating the logic already provided by in_sleepable_context(). This series consolidates these scattered checks into calls to in_sleepable_context() across check_helper_call(), check_kfunc_call(), and check_func_call(), reducing code duplication and making the error reporting consistent. No functional change. ==================== Link: https://patch.msgid.link/20260318174327.3151925-1-puranjay@kernel.org Signed-off-by: Alexei Starovoitov --- 21337b58f596155062cd02f38db3726c5b5c7ec6