diff options
author | David Vernet <void@manifault.com> | 2023-04-10 23:16:31 -0500 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-12 12:57:54 -0700 |
commit | 1d71283987c729dceccce834a864c27301ba155e (patch) | |
tree | c0c136a59b58c940a30c09783288b1cedb35624e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 10fd5f70c397782a97f411f25bfb312ea92b55bc (diff) |
bpf: Make bpf_cgroup_acquire() KF_RCU | KF_RET_NULL
struct cgroup is already an RCU-safe type in the verifier. We can
therefore update bpf_cgroup_acquire() to be KF_RCU | KF_RET_NULL, and
subsequently remove bpf_cgroup_kptr_get(). This patch does the first of
these by updating bpf_cgroup_acquire() to be KF_RCU | KF_RET_NULL, and
also updates selftests accordingly.
Signed-off-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20230411041633.179404-1-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions