diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2024-02-05 05:56:46 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-02-05 20:00:14 -0800 |
commit | 8be6a0147af314fd60db9da2158cd737dc6394a7 (patch) | |
tree | 5633630512456d6639125786010e2125253f83eb /scripts/gdb/linux/vmalloc.py | |
parent | 6fceea0fa59f6786a2847a4cae409117624e8b58 (diff) |
selftests/bpf: Add tests for RCU lock transfer between subprogs
Add selftests covering the following cases:
- A static or global subprog called from within a RCU read section works
- A static subprog taking an RCU read lock which is released in caller works
- A static subprog releasing the caller's RCU read lock works
Global subprogs that leave the lock in an imbalanced state will not
work, as they are verified separately, so ensure those cases fail as
well.
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Acked-by: David Vernet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions