mbox series

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

Message ID 20221104083020.155835-1-ying.huang@intel.com (mailing list archive)
Headers show
Series migrate: convert migrate_pages()/unmap_and_move() to use folios | expand

Message

Huang, Ying Nov. 4, 2022, 8:30 a.m. UTC
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