Re: [PATCH 7.2 v2 08/12] mm/huge_memory: remove folio split check for READ_ONLY_THP_FOR_FS

David Hildenbrand (Arm)
2026-04-14T11:03:53Z

On 4/13/26 22:46, Zi Yan wrote:
> On 13 Apr 2026, at 16:41, Matthew Wilcox wrote:
>
>> On Mon, Apr 13, 2026 at 03:20:26PM -0400, Zi Yan wrote:
>>> + /* order-1 is not supported for anonymous THP. */
>>
>> It's also not supported for file folios, right? Or do we just skip
>> adding order-1 file folios to the deferred split list? Either way,
>
> order <= 1 folios are not added to deferred split list. See
> deferred_split_folio().
>
> IIUC, we have order-1 file folios but not order-1 anon folios.

And only anon folios are ever added to the deferred split list.

Acked-by: David Hildenbrand (Arm) <david@kernel.org>

--
Cheers,

David