diff options
| author | Jiri Olsa <[email protected]> | 2021-12-08 19:32:43 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-12-13 17:24:22 +0000 |
| commit | 5edf6a1983b90371da888ca86493937ec1c8a2b5 (patch) | |
| tree | 9196ba513a825efee7ab98d34b52bd989819ba66 /drivers/net/xen-netfront.c | |
| parent | selftests/bpf: Add test to access int ptr argument in tracing program (diff) | |
| download | kernel-5edf6a1983b90371da888ca86493937ec1c8a2b5.tar.gz kernel-5edf6a1983b90371da888ca86493937ec1c8a2b5.zip | |
bpf, x64: Replace some stack_size usage with offset variables
As suggested by Andrii, adding variables for registers and ip
address offsets, which makes the code more clear, rather than
abusing single stack_size variable for everything.
Also describing the stack layout in the comment.
There is no function change.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions
