]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
s390/bpf: take advantage of stack_depth tracking
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Tue, 7 Nov 2017 18:16:25 +0000 (19:16 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 10 Nov 2017 17:57:37 +0000 (18:57 +0100)
commit78372709bf95c2ef5c886780efc268f7f052168a
tree11f908545f711b32ab60a2dd2ce2f749c1b26f44
parent22841cea1a10832d07f16720c718f6795f35fe2a
s390/bpf: take advantage of stack_depth tracking

Make use of the "stack_depth" tracking feature introduced with
commit 8726679a0fa31 ("bpf: teach verifier to track stack depth") for the
s390 JIT, so that stack usage can be reduced.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/net/bpf_jit.h
arch/s390/net/bpf_jit_comp.c