diff options
author | Yonghong Song <yonghong.song@linux.dev> | 2024-09-04 15:12:56 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-09-04 16:46:22 -0700 |
commit | eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac (patch) | |
tree | 2e3852a76c55a56d84a47afc852212776c697a57 /tools/testing/selftests/bpf/prog_tests/xdp.c | |
parent | c8831bdbfbab672c006a18006d36932a494b2fd6 (diff) | |
download | linux-eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac.tar.gz linux-eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac.tar.bz2 linux-eff5b5fffc1d39fb9e5e66d6aa4ed3fcb109caac.zip |
selftests/bpf: Add a selftest for x86 jit convergence issues
The core part of the selftest, i.e., the je <-> jmp cycle, mimics the
original sched-ext bpf program. The test will fail without the
previous patch.
I tried to create some cases for other potential cycles
(je <-> je, jmp <-> je and jmp <-> jmp) with similar pattern
to the test in this patch, but failed. So this patch
only contains one test for je <-> jmp cycle.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240904221256.37389-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/xdp.c')
0 files changed, 0 insertions, 0 deletions