bpf: tidy up internals of bpf key handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 5 repliesIn review
- v13 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: make bpf_key an opaque typeinclude/ kernel/ | +6 | 0 replies | |
| 2/3 | bpf: remove bpf_key referencekernel/ | +2 | 4 replies | |
| 3/3 | bpf: eliminate the allocation of an intermediate struct bpf_keykernel/ | +16 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] bpf: tidy up internals of bpf key handling
This patch series reduces the size of the implementing code and eliminates allocations on the bpf_key_lookup paths. There is no externally visible change to the BPF API.
v2 fixes the test failures by keeping an empty bpf_key structure and differentiating between failure and builtin key returns.
Regards,
James
James Bottomley (3):
bpf: make bpf_key an opaque type
bpf: remove bpf_key reference
bpf: eliminate the allocation of an intermediate struct bpf_key
include/linux/bpf.h | 5 +---- kernel/trace/bpf_trace.c | 47 ++++++++++++++++------------------------ 2 files changed, 20 insertions(+), 32 deletions(-)
Signature · 1 line
2.43.0