Re: [PATCH v13 04/10] mm: split a folio in minimum folio order chunks
From: Zi Yan
Date: Sat Aug 31 2024 - 18:40:38 EST
On 30 Aug 2024, at 13:12, Luis Chamberlain wrote:
> 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?
No preference, as long as Pankaj fixed the "if (ret)" issue I mentioned in the
other email.
--
Best Regards,
Yan, Zi
Attachment:
signature.asc
Description: OpenPGP digital signature