Re: [RFC PATCH v2 00/16] Page Alloc Hogger

From: Lorenzo Stoakes (ARM)

Date: Tue Aug 11 2026 - 14:29:05 EST


On Tue, Aug 11, 2026 at 11:20:54AM -0700, Juan Yescas wrote:
> On Thu, Aug 6, 2026 at 2:48 AM Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx> wrote:
> >
> > Hi Juan,
> >
> > While I think there's possibly value in people not re-implemented their own
> > allocation injector, I don't think there's value in having this be part of
> > core-mm.
> >
>
> Thanks Lorenzo for your comments. Apologies for the delay.
>
> > I really don't want this to form part of any contract or to be blessed in
> > any way by core mm as it exposes internal implementation details and I
> > really want to avoid adding extra maintainer workload here.
> >
>
> I understand and completely respect your concern regarding maintainer
> overhead and internal boundaries.
>
> Do you see a way to provide similar functionality without exposing the
> internal implementation?
>
>
> > I'd suggest keeping it as an out-of-tree module as David proposed
> > previously ([0]).
> >
> > Alternatively, keeping it as part of tooling (e.g. in tools/testing) could
> > also work.
>
> That would also work.

Yeah David and I are agreed this would be the best place for it - it gives you
everything you need and upstream while keeping the separation we want _and_ it
allows us to write better, more thorough tests (and I see in your reply to
Andrew you are planning on adding a bunch of tests which I love to hear :)

So this would be great thanks!

>
> > (This is no comment on how useful it might be for debugging or testing
> > scenarios :)
> >
>
> Thanks again for your feedback
> Juan
>
> > --
> > Cheers, Lorenzo
> >
> > [0]:https://lore.kernel.org/all/97605949-82c5-49e0-84b6-b42e8078b55d@xxxxxxxxxx/

--
Cheers, Lorenzo