Re: [PATCH bpf-next v5 0/3] Allow mmap of /sys/kernel/btf/vmlinux

2025-05-23 Thread patchwork-bot+netdevbpf
Hello: This series was applied to bpf/bpf-next.git (master) by Andrii Nakryiko : On Tue, 20 May 2025 14:01:16 +0100 you wrote: > I'd like to cut down the memory usage of parsing vmlinux BTF in ebpf-go. > With some upcoming changes the library is sitting at 5MiB for a parse. > Most of that memory

[PATCH bpf-next v5 0/3] Allow mmap of /sys/kernel/btf/vmlinux

2025-05-20 Thread Lorenz Bauer
I'd like to cut down the memory usage of parsing vmlinux BTF in ebpf-go. With some upcoming changes the library is sitting at 5MiB for a parse. Most of that memory is simply copying the BTF blob into user space. By allowing vmlinux BTF to be mmapped read-only into user space I can cut memory usage