aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuentin Monnet <quentin.monnet@netronome.com>2019-03-14 12:38:40 +0000
committerAlexei Starovoitov <ast@kernel.org>2019-03-14 14:03:21 -0700
commit0eb0978528d47699edd091dc2c337952ad8da436 (patch)
treee1255bd0d21af73de66609364cb14d46457c5fd8 /tools
parentbpf: fix documentation for eBPF helpers (diff)
downloadlinux-dev-0eb0978528d47699edd091dc2c337952ad8da436.tar.xz
linux-dev-0eb0978528d47699edd091dc2c337952ad8da436.zip
bpf: add documentation for helpers bpf_spin_lock(), bpf_spin_unlock()
Add documentation for the BPF spinlock-related helpers to the doc in bpf.h. I added the constraints and restrictions coming with the use of spinlocks for BPF: not all of it is directly related to the use of the helper, but I thought it would be nice for users to find them in the man page. This list of restrictions is nearly a verbatim copy of the list in Alexei's commit log for those helpers. Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions