diff options
author | David Vernet <[email protected]> | 2022-12-07 14:49:10 -0600 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-12-07 17:09:13 -0800 |
commit | 25c5e92d197bd721e706444c5910fd386c330456 (patch) | |
tree | 9ed83275e69de08ce336e308ef53f2d1e422406f /lib/mpi/mpi-sub-ui.c | |
parent | 26c386ecf0212affb50f02dabcb0152995b99b07 (diff) |
bpf/docs: Document struct task_struct * kfuncs
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions