lkml.org 
[lkml]   [2017]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] MIPS,bpf: Improvements for MIPS eBPF JIT
Date
Here are several improvements and bug fixes for the MIPS eBPF JIT.

The main change is the addition of support for JLT, JLE, JSLT and JSLE
ops, that were recently added.

Also fix WARN output when used with preemptable kernel, and a small
cleanup/optimization in the use of BPF_OP(insn->code).

I suggest that the whole thing go via the BPF/net-next path as there
are dependencies on code that is not yet merged to Linus' tree.

Still pending are changes to reduce stack usage when the verifier can
determine the maximum stack size.

David Daney (3):
MIPS,bpf: Fix using smp_processor_id() in preemptible splat.
MIPS,bpf: Implement JLT, JLE, JSLT and JSLE ops in the eBPF JIT.
MIPS,bpf: Cache value of BPF_OP(insn->code) in eBPF JIT.

arch/mips/net/ebpf_jit.c | 162 ++++++++++++++++++++++++++++++-----------------
1 file changed, 103 insertions(+), 59 deletions(-)

--
2.9.5

\
 
 \ /
  Last update: 2017-08-19 01:41    [W:0.070 / U:0.960 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site