bpf, arm64: take advantage of stack_depth tracking
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 11 Jun 2017 01:55:27 +0000 (03:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jun 2017 22:18:32 +0000 (18:18 -0400)
commitf1c9eed7f437d0fc75b35d65bb45eab281706321
tree311caa9372c1f59ba8e9190b51577d51cf6ac2a6
parent66e037ca57f967bb344fbd381fa0651a502cb1f4
bpf, arm64: take advantage of stack_depth tracking

Make use of recently implemented stack_depth tracking for arm64 JIT,
so that stack usage can be reduced heavily for programs not using
tail calls at least.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/net/bpf_jit_comp.c