Skip to content

Fix up bpf_jit_limit some more

Lorenz Bauer bpf linux-arm-kernel linux-riscv lkml netdev 3 versions – Applied

Status from this message: Applied to bpf tree. Seems more appropriate there.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesApplied
  2. v24 patches 5 repliesSuperseded
  3. v14 patches 6 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3bpf: define bpf_jit_alloc_exec_limit for riscv JITarch/riscv/net/bpf_jit_core.c+5 -01 reply
2/3bpf: define bpf_jit_alloc_exec_limit for arm64 JITarch/arm64/net/bpf_jit_comp.c+5 -00 replies
3/3bpf: prevent increasing bpf_jit_limit above maxinclude/linux/filter.h kernel/bpf/core.c net/core/sysctl_net_core.c+5 -20 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchLuke NelsonBjörn Töpel
1/3A-b A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] Fix up bpf_jit_limit some more

Fix some inconsistencies of bpf_jit_limit on non-x86 platforms. I've dropped exposing bpf_jit_current since we couldn't agree on file modes, correct names, etc.

Lorenz Bauer (3):
bpf: define bpf_jit_alloc_exec_limit for riscv JIT
bpf: define bpf_jit_alloc_exec_limit for arm64 JIT
bpf: prevent increasing bpf_jit_limit above max

 arch/arm64/net/bpf_jit_comp.c | 5 +++++
 arch/riscv/net/bpf_jit_core.c | 5 +++++
 include/linux/filter.h        | 1 +
 kernel/bpf/core.c             | 4 +++-
 net/core/sysctl_net_core.c    | 2 +-
 5 files changed, 15 insertions(+), 2 deletions(-)
Signature · 1 line
2.30.2