On 05/17/2016 01:36 AM, Yang Shi wrote:
In the current implementation of ARM64 eBPF JIT, R23 and R24 are used for
tmp registers, which are callee-saved registers. This leads to variable size
of JIT prologue and epilogue. The latest blinding constant change prefers to
constant size of prologue and epilogue. AAPCS reserves R9 ~ R15 for temp
registers which not need to be saved/restored during function call. So, replace
R23 and R24 to R10 and R11, and remove tmp_used flag to save 2 instructions for
some jited BPF program.

CC: Daniel Borkmann <dan...@iogearbox.net>
Acked-by: Zi Shen Lim <zlim....@gmail.com>
Signed-off-by: Yang Shi <yang....@linaro.org>

LGTM, thanks!

Acked-by: Daniel Borkmann <dan...@iogearbox.net>

Reply via email to