Re: [PATCH v4 11/17] mm/huge_memory: move filemap management into the file split helper

From: Zi Yan

Date: Mon Sep 07 2026 - 16:02:27 EST


On Mon Sep 7, 2026 at 2:12 PM EDT, Kairui Song via B4 Relay wrote:
> From: Kairui Song <kasong@xxxxxxxxxxx>
>
> Only file split needs the filemap and xarray handling and related
> variables. Move them out of __folio_split() into the file helper so
> the helper is self-contained, and simplify the parameters.
>
> No functional change.
>
> Signed-off-by: Kairui Song <kasong@xxxxxxxxxxx>
> ---
> mm/huge_memory.c | 102 ++++++++++++++++++++++++-------------------------------
> 1 file changed, 44 insertions(+), 58 deletions(-)
>
LGTM.

Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>


--
Best Regards,
Yan, Zi