History

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.

Andrii Nakryiko committed 4 years ago

Commit 5790a2f1 parent 0bed8f31 file · +1 −1Browse files

Showing the changes to tools/testing (1 of 1 file). Show all

Unified · Split

tools/testing/selftests/bpf/prog_tests/fexit_stress.c+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5/* that's kernel internal BPF_MAX_TRAMP_PROGS define */5/* that's kernel internal BPF_MAX_TRAMP_PROGS define */
6#define CNT 386#define CNT 38
7 7
8void test_fexit_stress(void)8void serial_test_fexit_stress(void)
9{9{
10 char test_skb[128] = {};10 char test_skb[128] = {};
11 int fexit_fd[CNT] = {};11 int fexit_fd[CNT] = {};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t