[PATCH 0/4] A few cleanup and fixup patches for migration
From: Miaohe Lin
Date: Sat Apr 09 2022 - 03:38:36 EST
Hi everyone,
This series contains a few patches to remove unneeded lock page and
PageMovable check, reduce the rcu lock duration. Also we fix potential
pte_unmap on an not mapped pte. More details can be found in the
respective changelogs. Thanks!
---
v1:
rebase [1] on mainline.
[1] https://lore.kernel.org/lkml/20220304093409.25829-2-linmiaohe@xxxxxxxxxx/T/
---
Miaohe Lin (4):
mm/migration: reduce the rcu lock duration
mm/migration: remove unneeded lock page and PageMovable check
mm/migration: return errno when isolate_huge_page failed
mm/migration: fix potential pte_unmap on an not mapped pte
include/linux/migrate.h | 2 +-
include/linux/swapops.h | 4 ++--
mm/filemap.c | 10 +++++-----
mm/hugetlb.c | 2 +-
mm/migrate.c | 31 +++++++++++++------------------
5 files changed, 22 insertions(+), 27 deletions(-)
--
2.23.0