Misc BPF improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: mark all registered map/prog types as __ro_after_initkernel/ kernel/ kernel/ +3 more | +23 | 0 replies | |
| 2/3 | bpf: remove stubs for cBPF from arch codearch/ arch/ arch/ +3 more | +14 | 0 replies | |
| 3/3 | bpf: make jited programs visible in tracesDocumentation/ arch/ arch/ +10 more | +419 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] Misc BPF improvements
This last series for this window adds various misc improvements to BPF, one is to mark registered map and prog types as __ro_after_init, another one for removing cBPF stubs in eBPF JITs and moving the stub to the core and last also improving JITs is to make generated images visible to the kernel and kallsyms, so they can be seen in traces. For details, please have a look at the individual patches.
Thanks a lot!
Daniel Borkmann (3):
bpf: mark all registered map/prog types as __ro_after_init
bpf: remove stubs for cBPF from arch code
bpf: make jited programs visible in traces
Documentation/sysctl/net.txt | 12 ++ arch/arm64/net/bpf_jit_comp.c | 20 ---- arch/powerpc/net/bpf_jit_comp64.c | 3 +- arch/s390/net/bpf_jit_comp.c | 26 ----- arch/x86/net/bpf_jit_comp.c | 23 +--- include/linux/bpf.h | 4 + include/linux/filter.h | 112 +++++++++++++++++- kernel/bpf/arraymap.c | 10 +- kernel/bpf/core.c | 235 +++++++++++++++++++++++++++++++++++++- kernel/bpf/hashtab.c | 8 +- kernel/bpf/lpm_trie.c | 2 +- kernel/bpf/stackmap.c | 2 +- kernel/bpf/syscall.c | 2 + kernel/extable.c | 9 +- kernel/kallsyms.c | 61 ++++++++-- kernel/trace/bpf_trace.c | 6 +- net/Kconfig | 3 +- net/core/filter.c | 18 +-- net/core/sysctl_net_core.c | 7 ++ 19 files changed, 453 insertions(+), 110 deletions(-)
Signature · 1 line
1.9.3