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

Huang Ying posted 2 patches 3 years, 5 months ago
[PATCH -V2 0/2] migrate: convert migrate_pages()/unmap_and_move() to use folios
Posted by Huang Ying 3 years, 5 months ago
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:

v1 -> v2:

- Rebased on mm-unstable.

- Added reviewed-by.

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