]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Make test_bench_attach serial
authorJiri Olsa <jolsa@kernel.org>
Wed, 16 Nov 2022 10:02:28 +0000 (11:02 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 21 Nov 2022 19:52:01 +0000 (11:52 -0800)
commit6e42ad1e0b05d49494ea11c8e2e493f88ffd80d1
tree910dc7454a6b1a573e6cf3c1383a0bdbaa79969a
parent0dfc0afee2c597ff9daeef3d84cbb44d039f816f
selftests/bpf: Make test_bench_attach serial

Alexei hit another rcu warnings because of this test.

Making test_bench_attach serial so it does not disrupts
other tests during parallel tests run.

While this change is not the fix, it should be less likely
to hit it with this test being executed serially.

Reported-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20221116100228.2064612-2-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c