Re: [PATCH] mm: Remove stray references to struct pagevec

From: Tal Zussman

Date: Wed Feb 25 2026 - 18:48:38 EST


On Wed, Feb 25, 2026 at 3:47 PM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> On Wed, Feb 25, 2026 at 12:57:16PM -0500, Tal Zussman wrote:
> > struct pagevec was removed in commit 1e0877d58b1e ("mm: remove struct
> > pagevec"). Remove remaining forward declarations and change
> > __folio_batch_release()'s declaration to match its definition.
> >
> > Signed-off-by: Tal Zussman <tz2294@xxxxxxxxxxxx>
>
> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
>
> > ---
> > Happy to rename PAGEVEC_SIZE and pagevec.h if desired too, but that'd be
> > ~65 more lines of churn... Although it looks like there are plenty of .c
> > files that include it for no reason, so could be a good opportunity to
> > remove those.
>
> Yes, there's lots of cleanup work here that I didn't get around to!
> Thanks for taking on this much, and any more work you want to do in this
> area will be lovely.

Thanks! Just sent a v2 with 3 more cleanup patches.