[PATCH 7/8] sched_ext: Sub-allocator over kernel-claimed BPF arena pages

Tejun Heo tj at kernel.org
Wed May 20 16:47:32 PDT 2026


Hello,

On Mon, May 18, 2026 at 04:26:11PM -0700, Alexei Starovoitov wrote:
> Well, this gen_pool based allocator of arena memory is a temporary hack.
> It's ok for rare allocation like in this at scx init time, but not suitable
> for active arena management. We don't need to expose it beyond scx.

I see. Peter, as Alexei is already prototyping a slab-based arena
allocator, how about keeping the gen_pool layer scx-local for now? Once
the proper allocator lands, scx can switch to it and the custom piece
goes away.

Thanks.

--
tejun



More information about the linux-arm-kernel mailing list