[PATCH v3 0/4] Some cleanup for page migration
From: Baolin Wang
Date: Sat Aug 21 2021 - 03:55:37 EST
Hi,
This patch set did some cleanup and improvements for the page migration,
please help to review. Thanks a lot.
Changes from v2:
- Simplify the page refcount validation suggested by Matthew.
Changes from v1:
- Add reviewed-by tags.
- Add more comments for patch 1.
- Drop unnecessary patch 5 from this patch set.
Baolin Wang (4):
mm: migrate: Simplify the file-backed pages validation when migrating
its mapping
mm: migrate: Introduce a local variable to get the number of pages
mm: migrate: Fix the incorrect function name in comments
mm: migrate: Change to use bool type for 'page_was_mapped'
mm/migrate.c | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
--
1.8.3.1