aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2022-10-19 23:40:45 +0000
committerAlexei Starovoitov <[email protected]>2022-10-19 23:41:05 +0000
commit7d8d535546a0ac03d7949881ef23bd2c903d19be (patch)
tree7b45ecaab55629a0ad0882c9732e082bd4080674 /tools/bpf/bpftool/prog.c
parentbpf/docs: Summarize CI system and deny lists (diff)
parentlibbpf: add non-mmapable data section selftest (diff)
downloadkernel-7d8d535546a0ac03d7949881ef23bd2c903d19be.tar.gz
kernel-7d8d535546a0ac03d7949881ef23bd2c903d19be.zip
Merge branch 'libbpf: support non-mmap()'able data sections'
Andrii Nakryiko says: ==================== Make libbpf more conservative in using BPF_F_MMAPABLE flag with internal BPF array maps that are backing global data sections. See patch #2 for full description and justification. Changes in this dataset support having bpf_spinlock, kptr, rb_tree nodes and other "special" variables as global variables. Combining this with libbpf's existing support for multiple custom .data.* sections allows BPF programs to utilize multiple spinlock/rbtree_node/kptr variables in a pretty natural way by just putting all such variables into separate data sections (and thus ARRAY maps). v1->v2: - address Stanislav's feedback, adds acks. ==================== Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions