Re: [PATCH v2 2/2] mm/huge_memory: Remove useless folio pointers passing

From: Baolin Wang
Date: Sun Apr 27 2025 - 02:07:13 EST




On 2025/4/25 18:38, Gavin Guo wrote:
Since the previous commit "mm/huge_memory: Adjust try_to_migrate_one() and
split_huge_pmd_locked()" has simplified the logic by leveraging the
folio verification in page_vma_mapped_walk(), this patch removes the
unnecessary folio pointers passing.

Suggested-by: David Hildenbrand <david@xxxxxxxxxx>
Link: https://lore.kernel.org/all/98d1d195-7821-4627-b518-83103ade56c0@xxxxxxxxxx/
Link: https://lore.kernel.org/all/91599a3c-e69e-4d79-bac5-5013c96203d7@xxxxxxxxxx/
Signed-off-by: Gavin Guo <gavinguo@xxxxxxxxxx>
Acked-by: David Hildenbrand <david@xxxxxxxxxx>

LGTM.
Reviewed-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>