bpf,docs: Update documentation to reflect new task kfuncs
authorDavid Vernet <void@manifault.com>
Fri, 31 Mar 2023 19:57:33 +0000 (14:57 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 1 Apr 2023 16:07:20 +0000 (09:07 -0700)
commitdb9d479ab59b21d719486e6bf673f83f129dae32
tree62f3e2549846daec101886a9b5244428ff0aea3e
parentf85671c6ef46d490a90dac719e0c0e0adbacfd9b
bpf,docs: Update documentation to reflect new task kfuncs

Now that struct task_struct objects are RCU safe, and bpf_task_acquire()
can return NULL, we should update the BPF task kfunc documentation to
reflect the current state of the API.

Signed-off-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20230331195733.699708-4-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/kfuncs.rst