diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-08-06 15:13:40 +0200 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-08-06 15:46:43 +0200 |
| commit | 8c7f55d60aa3512fd3da7e9cf313723460e487b4 (patch) | |
| tree | 71107aad2b7014a471aaa4aa974ba663e39c7c06 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7d008cde75c07713cf5bb9371d187a0ad3a37a4c (diff) | |
| parent | a7f62506df941a506a138caa3849f48c11af22ec (diff) | |
Merge branch 'bpf-track-overlapping-rcu-protection'
Ning Ding says:
====================
bpf: Track overlapping RCU protection
Preemption-disabled and IRQ-disabled regions provide RCU protection, but
the verifier does not account for them. Current implementation can invalidate
a task kptr while another RCU source remains active, or keep it valid
after the final source ends.
Track these regions and invalidate RCU-protected pointers only after the
last protection ends. Add task kptr tests for overlapping protection and
final-exit rejection.
This follows review of the applied spin-unlock fix series [1].
Tested in QEMU/KVM:
./test_progs -t task_kfunc
./test_progs -t preempt_lock
./test_progs -t irq
[1] https://lore.kernel.org/r/20260803112615.3362122-1-dingning04@gmail.com
====================
Link: https://patch.msgid.link/20260805233940.3966981-1-dingning04@gmail.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
