Re: [PATCH v14 062/138] mm/migrate: Add folio_migrate_copy()

Zi Yan
2021-07-15T15:58:45Z

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

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 <ziy@nvidia.com>

—
Best Regards,
Yan, Zi

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 854 bytes --]