diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2025-11-21 18:35:00 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-11-21 18:35:00 -0800 |
| commit | c42732087341e3c1ae34b25cc318609cacd866ac (patch) | |
| tree | 826d07187b4c1d515421716f825be8cccca570e2 /tools/lib/python/kdoc/enrich_formatter.py | |
| parent | 8f7cf305a15eec663d5084e417f4773f1ef24e23 (diff) | |
| parent | cf49ec5705a6fb635ac9c2626f9ac7a39344b1f5 (diff) | |
Merge branch 'bpf-nested-rcu-critical-sections'
Puranjay Mohan says:
====================
bpf: Nested rcu critical sections
v1: https://lore.kernel.org/bpf/20250916113622.19540-1-puranjay@kernel.org/
Changes in v1->v2:
- Move the addition of new tests to a separate patch (Alexei)
- Avoid incrementing active_rcu_locks at two places (Eduard)
Support nested rcu critical sections by making the boolean flag
active_rcu_lock a counter and use it to manage rcu critical section
state. bpf_rcu_read_lock() increments this counter and
bpf_rcu_read_unlock() decrements it, MEM_RCU -> PTR_UNTRUSTED transition
happens when active_rcu_locks drops to 0.
====================
Link: https://patch.msgid.link/20251117200411.25563-1-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/enrich_formatter.py')
0 files changed, 0 insertions, 0 deletions
