diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-10-27 19:03:14 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-10-28 04:07:03 +0000 |
| commit | b433cdb1cc4f599d840ab33d97f8498625bef629 (patch) | |
| tree | 053cc1a10c0f7cadbe1d9c32b7249b441be76731 /include/linux | |
| parent | 4d0f560f4926417f010ce38f8628c41bcad29c9f (diff) | |
selftests/bpf: Test stack arguments across may_goto
Each test passes arguments 6-8 on the stack. Thus it uses all the registers
in which the JITs of x86-64, arm64 and riscv64 pass stack arguments.
may_goto then
------------------------------------------- ---------------------------
70000 iterations in the callee the callee reads the args
the time is up in the callee the callee reads the args
70000 iterations in the caller, after the the caller calls the callee
writes of the args
70000 iterations have one look at the clock. Without the fix on x86-64 the
second test fails, and the first test fails with the hpet clocksource. The
third test passes there. The result depends on the registers that the C
code uses.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20261027190314.1440199-20-alexei.starovoitov@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
