Skip to content

BPF inline improvements

Daniel Borkmann netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- BITS_PER_LONG guard in patch 1
- BPF_EMIT_CALL is on __htab_map_lookup_elem

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bpf: make htab inlining more robust wrt assumptionskernel/bpf/verifier.c+5 -11 reply
2/2bpf: inline map in map lookup functions for array and htabkernel/bpf/arraymap.c kernel/bpf/hashtab.c+43 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/2A-b
2/2A-b

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] BPF inline improvements

First one makes htab inlining more robust wrt future jits and second one inlines map in map lookups through map_gen_lookup() callback.

Thanks!

v1 -> v2:
- BITS_PER_LONG guard in patch 1
- BPF_EMIT_CALL is on __htab_map_lookup_elem

Daniel Borkmann (2):
bpf: make htab inlining more robust wrt assumptions
bpf: inline map in map lookup functions for array and htab

 kernel/bpf/arraymap.c | 26 ++++++++++++++++++++++++++
 kernel/bpf/hashtab.c  | 17 +++++++++++++++++
 kernel/bpf/verifier.c |  6 +++++-
 3 files changed, 48 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.3