]> Git Repo - linux.git/commit
selftests/bpf: Add tests for css_task iter combining with cgroup iter
authorChuyi Zhou <[email protected]>
Tue, 31 Oct 2023 05:04:37 +0000 (13:04 +0800)
committerAlexei Starovoitov <[email protected]>
Thu, 2 Nov 2023 05:49:20 +0000 (22:49 -0700)
commitf49843afde6771ef6ed5d021eacafacfc98a58bf
tree0cb994bfda2cbc5b435bff4513c41ae622264af2
parent3091b667498b0a212e760e1033e5f9b8c33a948f
selftests/bpf: Add tests for css_task iter combining with cgroup iter

This patch adds a test which demonstrates how css_task iter can be combined
with cgroup iter and it won't cause deadlock, though cgroup iter is not
sleepable.

Signed-off-by: Chuyi Zhou <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
tools/testing/selftests/bpf/prog_tests/cgroup_iter.c
tools/testing/selftests/bpf/progs/iters_css_task.c
This page took 0.060703 seconds and 4 git commands to generate.