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

From
Zi Yan <ziy@nvidia.com>
Date
2021-07-15 15:58:44
Also in
linux-fsdevel, lkml
Reply to
Matthew Wilcox (Oracle), 2021-07-15
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 [off-list ref]

—
Best Regards,
Yan, Zi

Attachments

Thread (389 messages) 389 messages, 13 authors, last reply 2021-08-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help