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

From: Matthew Wilcox

Date: Mon Apr 13 2026 - 16:41:49 EST


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,
we need to correct _something_, whether it's the code or the comment.

> + if (folio_test_anon(folio) && new_order == 1)
> + return -EINVAL;