Re: [PATCH v6 1/5] mm/page_alloc: introduce __free_prepared_contig_range() with fpi_t

From: Matthew Wilcox

Date: Fri Jul 24 2026 - 23:55:17 EST


On Sun, Jul 05, 2026 at 06:07:10PM +0000, Jiaqi Yan wrote:
> Rename the core logic to __free_prepared_contig_range() to accept
> an fpi_t argument. It bitwise ORs with the required FPI_PREPARED
> flag.

There are only three callers of free_prepared_contig_range(), all
in the same function. It would seem like less effort to just
modify free_prepared_contig_range() to take an fpi_t than
introduce this wrapper.