summaryrefslogtreecommitdiffstats
path: root/firmware/whiteheat_loader.HEX
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-06-11 00:50:40 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-10 19:05:45 -0400
commit20b9d7ac48526ce9a14106241e76e8382d126a60 (patch)
tree8e5e133552c45aaf6eddf0e61c88939f2df57695 /firmware/whiteheat_loader.HEX
parent41e8e40458a417bbbabfbec5362b8747601e6a3a (diff)
downloadop-kernel-dev-20b9d7ac48526ce9a14106241e76e8382d126a60.zip
op-kernel-dev-20b9d7ac48526ce9a14106241e76e8382d126a60.tar.gz
bpf: avoid excessive stack usage for perf_sample_data
perf_sample_data consumes 386 bytes on stack, reduce excessive stack usage and move it to per cpu buffer. It's allowed due to preemption being disabled for tracing, xdp and tc programs, thus at all times only one program can run on a specific CPU and programs cannot run from interrupt. We similarly also handle bpf_pt_regs. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/whiteheat_loader.HEX')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud