Re: [PATCH v13 04/10] mm: split a folio in minimum folio order chunks
From: Luis Chamberlain
Date: Fri Aug 30 2024 - 13:12:37 EST
On Fri, Aug 30, 2024 at 04:59:57PM +0200, Pankaj Raghav wrote:
> It feels a bit weird to pass both folio and the page in `split_page_folio_to_list()`.
Agreed..
> How about we extract the code that returns the min order so that we don't repeat.
> Something like this:
Of all solutions I like this the most, Zi, do you have any preference?
Luis