summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@isovalent.com>2025-05-20 16:01:19 +0300
committerAndrii Nakryiko <andrii@kernel.org>2025-05-23 20:06:28 +0300
commit3c0421c93ce4ff0f5f2612666122c34fc941d569 (patch)
tree0d58516e4141028990b198cedd2bbf6c01ce71aa /scripts/lib/kdoc/kdoc_files.py
parent828226b69ff54d57afd7b3cb56095ef8186ba290 (diff)
downloadlinux-3c0421c93ce4ff0f5f2612666122c34fc941d569.tar.xz
libbpf: Use mmap to parse vmlinux BTF from sysfs
Teach libbpf to use mmap when parsing vmlinux BTF from /sys. We don't apply this to fall-back paths on the regular file system because there is no way to ensure that modifications underlying the MAP_PRIVATE mapping are not visible to the process. Signed-off-by: Lorenz Bauer <lmb@isovalent.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Tested-by: Alan Maguire <alan.maguire@oracle.com> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250520-vmlinux-mmap-v5-3-e8c941acc414@isovalent.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions