Skip to content

migrate: convert migrate_pages()/unmap_and_move() to use folios

Huang Ying linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] migrate-convert-migrate_pages-to-use-folios.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Changes in v1 from the cover letter

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

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

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2migrate: convert unmap_and_move() to use foliosmm/migrate.c+27 -270 repliesApplied
2/2migrate: convert migrate_pages() to use foliosmm/migrate.c+112 -981 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYang ShiZi YanMatthew Wilcox (Oracle)Baolin Wang
1/2R-b R-b R-b R-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

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

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