selftests/bpf: make fexit_stress test run in serial mode
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 11 May 2022 23:20:12 +0000 (16:20 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 12 May 2022 01:22:21 +0000 (18:22 -0700)
commit5790a2fee02c48e28fde2ce7ea4765eeadcda0ba
treeba0fa1bc50de9ef80778621ec353aa5e26dfeca3
parent0bed8f374a9981d94c6b03376925419ef588f44a
selftests/bpf: make fexit_stress test run in serial mode

fexit_stress is attaching maximum allowed amount of fexit programs to
bpf_fentry_test1 kernel function, which is used by a bunch of other
parallel tests, thus pretty frequently interfering with their execution.

Given the test assumes nothing else is attaching to bpf_fentry_test1,
mark it serial.

Suggested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220511232012.609370-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/fexit_stress.c