diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-03-21 13:09:35 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-03-21 13:09:35 -0700 |
| commit | 21337b58f596155062cd02f38db3726c5b5c7ec6 (patch) | |
| tree | 2e2b3004dac05ebdb390fcb7ccf5a4bdd6490141 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4b21ea5024830f5db6826542048541fab757085b (diff) | |
| parent | a2542a91aafd5fcf20cd804cd14c9de52cfc397e (diff) | |
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 <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
