Re: [PATCH bpf-next 0/5] bpf: Expose pinned arenas as sized bpffs files
From: Alexei Starovoitov
Date: Mon Oct 19 2026 - 13:17:29 EST
On Mon Oct 19, 2026 at 4:19 PM UTC, Andrii Nakryiko wrote:
>
> Yeah, there are just so many cases where we have some memory that is
> special in some way (e.g., huge page-backed memory, or some IOMMU,
> e.g., that doorbell stuff, which, if I understand correctly, is done
> though writes to specially set up memory ranges), and we can't shove
> all this into BPF_MAP_CREATE interface if we want to have BPF program
> accessing that memory. So having a generic way to just bolt ARRAY on
> top of already created memory seems like a useful primitive.
I see. In such light the use case makes sense to me.