From: David S. Miller Date: Wed, 31 May 2017 23:29:48 +0000 (-0400) Subject: Merge branch 'bpf-stack-tracker' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6c21a2a65ded27ce49847339efe4e1373a2319e5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'bpf-stack-tracker' Alexei Starovoitov says: ==================== bpf: stack depth tracking Introduce tracking of bpf program stack depth in the verifier and use that info to reduce bpf program stack consumption in the interpreter and x64 JIT. Other JITs can take advantage of it as well in the future. Most of the programs consume very little stack, so it's good optimization in general and it's the first step toward bpf to bpf function calls. Also use internal opcode for bpf_tail_call() marking to make clear that jmp|call|x opcode is not uapi and may be used for actual indirect call opcode in the future. ==================== Signed-off-by: David S. Miller --- 6c21a2a65ded27ce49847339efe4e1373a2319e5