summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_verifier.c
diff options
context:
space:
mode:
authorDaniel Borkmann2018-05-14 23:22:33 +0200
committerAlexei Starovoitov2018-05-15 04:11:45 +0200
commit56ea6a8b4949c66d550d05e92da8ef4351b90027 (patch)
tree21af064891911296afea5e9193c902f848cc03fe /tools/testing/selftests/bpf/test_verifier.c
parentbpf, arm64: optimize 32/64 immediate emission (diff)
downloadkernel-qcow2-linux-56ea6a8b4949c66d550d05e92da8ef4351b90027.tar.gz
kernel-qcow2-linux-56ea6a8b4949c66d550d05e92da8ef4351b90027.tar.xz
kernel-qcow2-linux-56ea6a8b4949c66d550d05e92da8ef4351b90027.zip
bpf, arm64: save 4 bytes in prologue when ebpf insns came from cbpf
We can trivially save 4 bytes in prologue for cBPF since tail calls can never be used from there. The register push/pop is pairwise, here, x25 (fp) and x26 (tcc), so no point in changing that, only reset to zero is not needed. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_verifier.c')
0 files changed, 0 insertions, 0 deletions