aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Yu <kennyyu@fb.com>2022-01-24 10:54:00 -0800
committerAlexei Starovoitov <ast@kernel.org>2022-01-24 19:55:40 -0800
commitb77fb25dcb342788d72ad7533163c34b8b823a1d (patch)
treee2da08693c1dd3f620eb6f53d67e15145a8a63de /include
parentcaaba96131b3a132590316c49887af85e07930b6 (diff)
bpf: Add support for bpf iterator programs to use sleepable helpers
This patch allows bpf iterator programs to use sleepable helpers by changing `bpf_iter_run_prog` to use the appropriate synchronization. With sleepable bpf iterator programs, we can no longer use `rcu_read_lock()` and must use `rcu_read_lock_trace()` instead to protect the bpf program. Signed-off-by: Kenny Yu <kennyyu@fb.com> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20220124185403.468466-2-kennyyu@fb.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions