# Re: \[PATCH v14 062/138\] mm/migrate: Add folio\_migrate\_copy()

- From: Zi Yan \<ziy@nvidia.com\>
- Date: 2021-07-15 15:58:44 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/07/210168
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/2.md

```text
On 14 Jul 2021, at 23:35, Matthew Wilcox (Oracle) wrote:

> This is the folio equivalent of migrate_page_copy(), which is retained
> as a wrapper for filesystems which are not yet converted to folios.
> Also convert copy_huge_page() to folio_copy().
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> ---
>  include/linux/migrate.h |  1 +
>  include/linux/mm.h      |  2 +-
>  mm/folio-compat.c       |  6 ++++++
>  mm/hugetlb.c            |  2 +-
>  mm/migrate.c            | 14 +++++---------
>  mm/util.c               |  6 +++---
>  6 files changed, 17 insertions(+), 14 deletions(-)
>
LGTM. Reviewed-by: Zi Yan [ref]

—
Best Regards,
Yan, Zi
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-mm/2021/07/210168/attachment/0) (application/pgp-signature, 854 bytes)
