lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <174802023425.3668992.8944556330976835180.git-patchwork-notify@kernel.org>
Date: Fri, 23 May 2025 17:10:34 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Lorenz Bauer <lmb@...valent.com>
Cc: arnd@...db.de, ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
 martin.lau@...ux.dev, eddyz87@...il.com, song@...nel.org,
 yonghong.song@...ux.dev, john.fastabend@...il.com, kpsingh@...nel.org,
 sdf@...ichev.me, haoluo@...gle.com, jolsa@...nel.org, mykolal@...com,
 shuah@...nel.org, linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
 bpf@...r.kernel.org, linux-kselftest@...r.kernel.org, alan.maguire@...cle.com
Subject: Re: [PATCH bpf-next v5 0/3] Allow mmap of /sys/kernel/btf/vmlinux

Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:

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 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 by about 75%.
> 
> Signed-off-by: Lorenz Bauer <lmb@...valent.com>
> 
> [...]

Here is the summary with links:
  - [bpf-next,v5,1/3] btf: allow mmap of vmlinux btf
    https://git.kernel.org/bpf/bpf-next/c/a539e2a6d51d
  - [bpf-next,v5,2/3] selftests: bpf: add a test for mmapable vmlinux BTF
    https://git.kernel.org/bpf/bpf-next/c/828226b69ff5
  - [bpf-next,v5,3/3] libbpf: Use mmap to parse vmlinux BTF from sysfs
    https://git.kernel.org/bpf/bpf-next/c/3c0421c93ce4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ