Thread (18 messages) 18 messages, 3 authors, 2017-06-06

Re: [PATCH net-next 0/9] bpf: stack depth tracking

From: David Miller <davem@davemloft.net>
Date: 2017-05-31 23:30:06

From: Alexei Starovoitov <redacted>
Date: Tue, 30 May 2017 13:31:26 -0700
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.
Series applied, thanks Alexei.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help