Thread (41 messages) 41 messages, 7 authors, 22d ago

Re: [PATCH bpf-next v4 00/12] bpf: make the vmlinux BTF an on-demand loadable module (CONFIG_DEBUG_INFO_BTF=m) to save ~5.4 MB memory

flat view

From: Alexei Starovoitov <hidden>
Date: 2026-10-03 12:19:07
Also in: bpf, linux-doc, linux-input, linux-kbuild, linux-kselftest, linux-perf-users, linux-trace-kernel, lkml, rust-for-linux, sched-ext

On Sat, Oct 03, 2026 at 12:45 PM Alan Maguire [off-list ref] wrote:
The only overall cost is if when we wind up using vmlinux BTF with the compressed
.BTF section, since we have to do a full vmlinux BTF allocation (on top of the
spac taken up by the compressed .BTF section) right? So slight penalty if vmlinux
is used, but big gain if not.
I think it can be copied compressed into vmalloc area and
freed after decompress, so memory usage should be exactly the same.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help