Re: [PATCH v3 13/18] mm/huge_memory: drop the unused do_lru argument of the file split helper
From: Zi Yan
Date: Tue Aug 25 2026 - 21:58:07 EST
On Thu Aug 20, 2026 at 2:55 PM EDT, Kairui Song via B4 Relay wrote:
> From: Kairui Song <kasong@xxxxxxxxxxx>
>
> The only caller of __folio_split_unmap_and_freeze_file() always passes
> do_lru as true, so the argument and the branches gated on it are dead
> code. Drop it.
>
> Signed-off-by: Kairui Song <kasong@xxxxxxxxxxx>
> ---
> mm/huge_memory.c | 19 ++++++-------------
> 1 file changed, 6 insertions(+), 13 deletions(-)
>
Thanks.
Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>
--
Best Regards,
Yan, Zi