diff options
| author | 2026-10-27 19:03:01 +0000 | |
|---|---|---|
| committer | 2026-10-28 04:07:02 +0000 | |
| commit | 701edc66772b41474f691664efc179d0de840ed1 (patch) | |
| tree | eeb2642e53d6f179f17bfd7cc7eeed1704a8e305 /scripts/Makefile.thinlto | |
| parent | bpf: Remove BPF_F_ARENA_SCALAR (diff) | |
bpf, x86: Remove r0_on_stack from fetching atomics in arena
x86 has no fetching AND/OR/XOR. Thus the JIT emits a loop with cmpxchg.
cmpxchg uses RAX, and RAX holds BPF R0. Thus the JIT saves R0 before the
loop.
prog the address is in the JIT saves R0 in
-------------------------- ------------------ -------------------
without the flag a BPF register BPF_REG_AX
with BPF_F_ARENA_SCALAR BPF_REG_AX the stack
The flag is removed. Remove the second variant.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20261027190314.1440199-7-alexei.starovoitov@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
