mbox series

[v3,0/4] Some cleanup for page migration

Message ID cover.1629447552.git.baolin.wang@linux.alibaba.com (mailing list archive)
Headers show
Series Some cleanup for page migration | expand

Message

Baolin Wang Aug. 21, 2021, 7:54 a.m. UTC
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(-)