Re: [PATCH v6 1/5] mm/page_alloc: introduce __free_prepared_contig_range() with fpi_t
Jiaqi Yan <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <CACw3F50W=YsdrgamCTy5WUVwTYJ7a5HX6MBhQCnNoOkySLi2YQ@mail.gmail.com> |
On Fri, Jul 24, 2026 at 8:55 PM Matthew Wilcox <[email protected]> wrote: > > 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. Sure, I can merge __free_prepared_contig_range() into free_prepared_contig_range() and just update the callers to pass FPI_NONE.