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

From: Kiryl Shutsemau

Date: Tue Sep 08 2026 - 12:44:27 EST


On Tue, Sep 08, 2026 at 02:12:15AM +0800, 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>

Reviewed-by: Kiryl Shutsemau (Meta) <kas@xxxxxxxxxx>

--
Kiryl Shutsemau / Kirill A. Shutemov