summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/bpf_rand.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2018-05-14 23:22:33 +0200
committerAlexei Starovoitov <ast@kernel.org>2018-05-15 04:11:45 +0200
commit56ea6a8b4949c66d550d05e92da8ef4351b90027 (patch)
tree21af064891911296afea5e9193c902f848cc03fe /tools/testing/selftests/bpf/bpf_rand.h
parentbpf, arm64: optimize 32/64 immediate emission (diff)
downloadlinux-56ea6a8b4949c66d550d05e92da8ef4351b90027.tar.xz
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/bpf_rand.h')
0 files changed, 0 insertions, 0 deletions