New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document some recent core kfunc additions #4144
Conversation
Upstream branch: bc067ca |
810ca15
to
58302c4
Compare
Upstream branch: f16a7aa |
37d4690
to
1192ba6
Compare
58302c4
to
ce7c915
Compare
Upstream branch: 7068194 |
1192ba6
to
e862c6c
Compare
ce7c915
to
8c65545
Compare
Upstream branch: 1910676 |
e862c6c
to
dd87f30
Compare
8c65545
to
c856075
Compare
Upstream branch: c0c852d |
dd87f30
to
a821e84
Compare
c856075
to
317a4d7
Compare
Upstream branch: 8972e18 |
a821e84
to
fb42904
Compare
317a4d7
to
b4fe570
Compare
Upstream branch: 41d76c7 |
fb42904
to
601d050
Compare
b4fe570
to
904e4e7
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=701386 expired. Closing PR. |
Upstream branch: ab0350c |
601d050
to
dacde2d
Compare
05cf506
to
c3c5819
Compare
Upstream branch: 08388ef |
dacde2d
to
9cbef03
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=701977 expired. Closing PR. |
Upstream branch: e9b4aee |
9cbef03
to
a5342c5
Compare
9e288d3
to
8efd032
Compare
Upstream branch: dcb2288 |
a5342c5
to
106ad33
Compare
8efd032
to
6143281
Compare
Upstream branch: 26c386e |
bpf_task_acquire(), bpf_task_release(), and bpf_task_from_pid() are kfuncs that were recently added to kernel/bpf/helpers.c. These are "core" kfuncs in that they're available for use for any tracepoint or struct_ops BPF program. Though they have no ABI stability guarantees, we should still document them. This patch adds a new Core kfuncs section to the BPF kfuncs doc, and adds entries for all of these task kfuncs. Note that bpf_task_kptr_get() is not documented, as it still returns NULL while we're working to resolve how it can use RCU to ensure struct task_struct * lifetime. Signed-off-by: David Vernet <void@manifault.com>
bpf_cgroup_acquire(), bpf_cgroup_release(), bpf_cgroup_kptr_get(), and bpf_cgroup_ancestor(), are kfuncs that were recently added to kernel/bpf/helpers.c. These are "core" kfuncs in that they're available for use in any tracepoint or struct_ops BPF program. Though they have no ABI stability guarantees, we should still document them. This patch adds a struct cgroup * subsection to the Core kfuncs section which describes each of these kfuncs. Signed-off-by: David Vernet <void@manifault.com>
106ad33
to
85a100f
Compare
6143281
to
4dede11
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=702722 irrelevant now. Closing PR. |
Pull request for series with
subject: Document some recent core kfunc additions
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=701386