diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2020-07-22 19:40:12 -0700 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-07-31 13:42:14 +0100 |
commit | a4856dab0d7d68b03b4925e8fea183fe788eb7d7 (patch) | |
tree | c62ff5b939b629e246ea010b38f11efa0d880b88 /target/linux/octeon/config-5.4 | |
parent | c4dd7fc23bfcf3b3f1a838668bb070edc9db5d4b (diff) | |
download | upstream-a4856dab0d7d68b03b4925e8fea183fe788eb7d7.tar.gz upstream-a4856dab0d7d68b03b4925e8fea183fe788eb7d7.tar.bz2 upstream-a4856dab0d7d68b03b4925e8fea183fe788eb7d7.zip |
kernel: mips: restore missing MIPS32 cBPF JIT
Kernel v5.1 included an eBPF JIT for MIPS32 kernels, but problems were
discovered [1] and the changes later reverted in kernel v5.5 with commits:
* f8fffebdea75 ("MIPS: BPF: Disable MIPS32 eBPF JIT")
* 36366e367ee9 ("MIPS: BPF: Restore MIPS32 cBPF JIT")
Only the first of these was backported to LTS kernel 5.4, leaving cBPF
programs without a JIT and introducing a performance regression for any
such users e.g. libpcap, tcpdump, etc.
Restore cBPF performance by backporting the second commit above:
* 070-v5.5-MIPS-BPF-Restore-MIPS32-cBPF-JIT.patch
[1] https://lore.kernel.org/bpf/20191205182318.2761605-1-paulburton@kernel.org/
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'target/linux/octeon/config-5.4')
0 files changed, 0 insertions, 0 deletions