Open up res_spin_lock for tracing programs, fix is_tracing_prog_type()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review 1 of 2 applied
Patches in v1 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Allow bpf_res_spin_lock() in all contextskernel/ | +2 | 3 replies | Applied |
| 2/2 | bpf: Fix is_tracing_prog_type() to cover fentry/fexit/fmod_retkernel/ tools/ tools/ +5 more | +50 | 3 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Emil Tsalapatis | Eduard Zingerman |
|---|---|---|
| 1/2 | R-b | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v1 0/2] Open up res_spin_lock for tracing programs, fix is_tracing_prog_type()
Patches in the set first open up res_spin_lock in all program types. The second patch goes back to addressing the technical debt highlighted in [0]. While for programs affected by the second patch don't need res_spin_lock to be opened up (since it was already allowed in those program types due to the oversight in is_tracing_prog_type()), it is timely to do so now.
[0]: https://lore.kernel.org/bpf/[email protected]
See commits for details.
Kumar Kartikeya Dwivedi (2):
bpf: Allow bpf_res_spin_lock() in all contexts
bpf: Fix is_tracing_prog_type() to cover fentry/fexit/fmod_ret
kernel/bpf/verifier.c | 48 +++++++++++-------- .../selftests/bpf/prog_tests/linked_list.c | 6 +-- .../selftests/bpf/prog_tests/map_btf.c | 19 ++++---- .../selftests/bpf/progs/map_in_map_btf.c | 2 +- .../selftests/bpf/progs/normal_map_btf.c | 2 +- .../selftests/bpf/progs/refcounted_kptr.c | 10 ++-- .../bpf/progs/refcounted_kptr_fail.c | 5 +- .../bpf/progs/verifier_helper_restricted.c | 4 ++ 8 files changed, 51 insertions(+), 45 deletions(-)
base-commit: ecf11bc5f56abb3a2219a8c75e8a5b54467d1781
Signature · 1 line
2.53.0