Re: [PATCH -V2 2/2] migrate: convert migrate_pages() to use folios

From: Baolin Wang
Date: Wed Nov 09 2022 - 02:53:49 EST




On 11/9/2022 9:23 AM, Huang Ying wrote:
Quite straightforward, the page functions are converted to
corresponding folio functions. Same for comments.

THP specific code are converted to be large folio.

Signed-off-by: "Huang, Ying" <ying.huang@xxxxxxxxx>
Cc: Zi Yan <ziy@xxxxxxxxxx>
Cc: Yang Shi <shy828301@xxxxxxxxx>
Cc: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
Cc: Oscar Salvador <osalvador@xxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>

Tested for normal page, THP, and hugetlb migration, and works well on my platform.
Reviewed-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
Tested-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>