Re: [PATCH bpf-next v3 4/9] bpf: take the vmlinux BTF from the btf_vmlinux module

From: Jay Wang

Date: Thu Oct 01 2026 - 19:53:19 EST


Agreed on both, changed in v4 (patch 4/12):
https://lore.kernel.org/bpf/20261001225214.12351-1-wanjay@xxxxxxxxxx/

Only -ENOMEM from btf_parse_vmlinux() is left uncached with =m; any other
failure is a broken BTF and is remembered as with =y, so it is parsed
once, not again by every later request. And /sys/kernel/btf/vmlinux now
serves the raw bytes whenever btf_vmlinux.ko supplied them, whether they
parse or not, as with =y.

Jay