Re: [PATCH v3 13/18] mm/huge_memory: drop the unused do_lru argument of the file split helper
From: David Hildenbrand (Arm)
Date: Thu Aug 27 2026 - 12:48:02 EST
On 8/20/26 20:55, 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>
> ---
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David