A few cleanup and fixup patches for migration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 15 repliesIn review 3 of 4 applied
- v34 patches 5 repliesSuperseded
- v2 posting 2/24 patches 29 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 11 patches | 4 replies | Superseded 9 of 11 applied | |
| v1 | 16 patches | 56 replies | Superseded |
Changes in v4 from the cover letter
collect Reviewed-by tag of Oscar.
fix build error reported by kernel test robot.
Patches in v4 3 of 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm: reduce the rcu lock durationmm/ mm/ | +2 | 14 replies | |
| 2/4 | mm/migration: remove unneeded lock page and PageMovable checkmm/ | +2 | 1 reply | Applied |
| 3/4 | mm/migration: return errno when isolate_huge_page failedinclude/ mm/ mm/ +4 more | +16 | 0 replies | Applied |
| 4/4 | mm/migration: fix potential pte_unmap on an not mapped pteinclude/ mm/ mm/ | +29 | 0 replies | Applied |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Muchun Song | Christoph Hellwig | Oscar Salvador | David Hildenbrand |
|---|---|---|---|---|
| 1/4 | R-b | R-b | R-b | R-b |
| 2/4 | R-b | R-b | R-b | |
| 3/4 | ||||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v4 0/4] A few cleanup and fixup patches for migration
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!
---
v4:
collect Reviewed-by tag of Oscar.
fix build error reported by kernel test robot.
v3:
[PATCH 1/4] mm/migration: reduce the rcu lock duration
add the analysis that the original race condition isn't possible now alsoreduce the rcu lock duration in kernel_migrate_pages
[PATCH 2/4] mm/migration: remove unneeded lock page and PageMovable check
let free_pages_prepare() clear PG_isolated for us
[PATCH 3/4] mm/migration: return errno when isolate_huge_page failed
rename isolate_huge_page to isolate_hugetlb
[PATCH 4/4] mm/migration: fix potential pte_unmap on an not mapped pte
collect Reviewed-by tag
v2:
collect Reviewed-by tag
make isolate_huge_page consistent with isolate_lru_page
add hugetlbfs variant of hugetlb_migration_entry_wait
v1:
rebase [1] on mainline.
[1] https://lore.kernel.org/lkml/[email protected]/T/
---
Miaohe Lin (4):
mm: 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/hugetlb.h | 6 +++--- include/linux/swapops.h | 12 ++++++++---- mm/gup.c | 2 +- mm/hugetlb.c | 15 +++++++-------- mm/memory-failure.c | 2 +- mm/memory_hotplug.c | 2 +- mm/mempolicy.c | 5 ++--- mm/migrate.c | 42 +++++++++++++++++++++++++---------------- 8 files changed, 49 insertions(+), 37 deletions(-)
Signature · 1 line
2.23.0