diff options
| author | David Vernet <[email protected]> | 2023-04-16 08:49:26 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-04-16 15:51:24 +0000 |
| commit | 09b501d905217a38f03c0f07d5a66e0b5c8c1644 (patch) | |
| tree | 0e7e28a8080492152b171e68136824475cae0b2c /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | Merge branch 'Shared ownership for local kptrs' (diff) | |
| download | kernel-09b501d905217a38f03c0f07d5a66e0b5c8c1644.tar.gz kernel-09b501d905217a38f03c0f07d5a66e0b5c8c1644.zip | |
bpf: Remove bpf_kfunc_call_test_kptr_get() test kfunc
We've managed to improve the UX for kptrs significantly over the last 9
months. All of the prior main use cases, struct bpf_cpumask *, struct
task_struct *, and struct cgroup *, have all been updated to be
synchronized mainly using RCU. In other words, their KF_ACQUIRE kfunc
calls are all KF_RCU, and the pointers themselves are MEM_RCU and can be
accessed in an RCU read region in BPF.
In a follow-on change, we'll be removing the KF_KPTR_GET kfunc flag.
This patch prepares for that by removing the
bpf_kfunc_call_test_kptr_get() kfunc, and all associated selftests.
Signed-off-by: David Vernet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
