Re: [PATCH v2] mm/page_ext: remove unused page_ext_iter_get()

From: Mike Rapoport

Date: Wed Nov 18 2026 - 08:39:47 EST


On Wed, Nov 18, 2026 at 11:10:45AM +0100, Vlastimil Babka (SUSE) wrote:
> On 11/17/26 20:13, Andrew Morton wrote:
> > On Tue, 17 Nov 2026 19:50:09 +0100 "Vlastimil Babka (SUSE)" <vbabka@xxxxxxxxxx> wrote:
> >
> >> On 11/17/26 17:26, Shivank Garg wrote:
> >> > It was added in commit 9039b9096ea2 ("mm: page_ext: add an iteration API
> >> > for page extensions") but has never had a caller.
> >> >
> >> > Signed-off-by: Shivank Garg <shivankg@xxxxxxx>
> >>
> >> Added to page_alloc.git for-next, thanks!
> >
> > Thanks. Helps.
> >
> >> Hm page_ext.h should be added to the PAGE ALLOCATOR section. Wonder if
> >> Andrew's patches adding various missing bits included that too.
> >
> > Nope. I'll add the below.
> >
> > A few things under mm/ include page_ext.h so perhaps more mentions are
> > needed.
>
> Thanks! Stuff that includes it are its users and not necessarily page
> allocator itself. Nothing jumped at me.

The whole initialization part is in a way mm_init ;-)

> > I'm presently carrying no patches which alter page_ext.h or page_ext.c
> >
> >
> >
> > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Subject: MAINTAINERS: add page_ext.h to MEMORY MANAGEMENT - PAGE ALLOCATOR
> > Date: Tue Nov 17 11:05:44 AM PST 2026
> >
> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Cc: "Vlastimil Babka (SUSE)" <vbabka@xxxxxxxxxx>
>
> Acked-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>
>
> >
> > MAINTAINERS | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > --- a/MAINTAINERS~a
> > +++ a/MAINTAINERS
> > @@ -17779,6 +17779,7 @@ F: include/linux/compaction.h
> > F: include/linux/gfp.h
> > F: include/linux/page-isolation.h
> > F: include/linux/pageblock-flags.h
> > +F: include/linux/page_ext.h
> > F: include/trace/events/compaction.h
> > F: include/trace/events/page_isolation.h
> > F: include/trace/events/page_ref.h
> > _
> >
>

--
Sincerely yours,
Mike.