[PATCH 0/2] migrate: convert migrate_pages()/unmap_and_move() to use folios

From: Huang Ying
Date: Fri Nov 04 2022 - 04:31:12 EST


The conversion is quite straightforward, just replace the page API to
the corresponding folio API. migrate_pages() and unmap_and_move()
mostly work with folios (head pages) only.

Changelog:

rfc -> v1:

- Change API to test transhuge and hugetlb, per Matthew and Zi's comments.

- Make THP related statistics for THP only, per Matthew's comments.

Best Regards,
Huang, Ying