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>
This commit is contained in:
Andrii Nakryiko 2022-05-11 16:20:12 -07:00 коммит произвёл Alexei Starovoitov
Родитель 0bed8f374a
Коммит 5790a2fee0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5,7 +5,7 @@
/* that's kernel internal BPF_MAX_TRAMP_PROGS define */ /* that's kernel internal BPF_MAX_TRAMP_PROGS define */
#define CNT 38 #define CNT 38
void test_fexit_stress(void) void serial_test_fexit_stress(void)
{ {
char test_skb[128] = {}; char test_skb[128] = {};
int fexit_fd[CNT] = {}; int fexit_fd[CNT] = {};