diff options
author | Alexei Starovoitov <ast@fb.com> | 2017-05-30 13:31:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-31 19:29:48 -0400 |
commit | b870aa901f4be1d32c13faf9e8f40bf2a8562e19 (patch) | |
tree | 80ea6e90353fd5cff52f5c7f5e80c73b57ce3a15 /usr | |
parent | 105c03614bff2de60adf338e3ee90652b65c2d05 (diff) | |
download | linux-b870aa901f4be1d32c13faf9e8f40bf2a8562e19.tar.bz2 |
bpf: use different interpreter depending on required stack size
16 __bpf_prog_run() interpreters for various stack sizes add .text
but not a lot comparing to run-time stack savings
text data bss dec hex filename
26350 10328 624 37302 91b6 kernel/bpf/core.o.before_split
25777 10328 624 36729 8f79 kernel/bpf/core.o.after_split
26970 10328 624 37922 9422 kernel/bpf/core.o.now
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions