mm-thp-another-pvmw_sync-fix-in-page_vma_mapped_walk.patch removed from -mm tree
The patch titled
Subject: mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
has been removed from the -mm tree. Its filename was
mm-thp-another-pvmw_sync-fix-in-page_vma_mapped_walk.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Hugh Dickins <[email protected]>
Subject: mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
Aha! Shouldn't that quick scan over pte_none()s make sure that it holds ptlock in the PVMW_SYNC case? That too might have been responsible for BUGs or WARNs in split_huge_page_to_list() or its unmap_page(), though I've never seen any.
---
mm/page_vma_mapped.c | 4 ++++ 1 file changed, 4 insertions(+)
mm/page_vma_mapped.c renamed from mm/page_vma_mapped.c~mm-thp-another-pvmw_sync-fix-in-page_vma_mapped_walk +4 -0
@@ -276,6 +276,10 @@ next_pte: goto restart; } pvmw->pte++; +if ((pvmw->flags &PVMW_SYNC ) && !pvmw->ptl) { + pvmw->ptl =pte_lockptr (mm, pvmw->pmd); +spin_lock (pvmw->ptl); + } }while (pte_none (*pvmw->pte));if (!pvmw->ptl) {
_
Patches currently in -mm which might be from [email protected] are
mm-thp-remap_page-is-only-needed-on-anonymous-thp.patch mm-hwpoison_user_mappings-try_to_unmap-with-ttu_sync.patch