mm-use-proper-pte-accessor-in-move_ptes.patch removed from -mm tree
The quilt patch titled
Subject: mm: use proper PTE accessor in move_ptes()
has been removed from the -mm tree. Its filename was
mm-use-proper-pte-accessor-in-move_ptes.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Alexander Gordeev <[email protected]>
Subject: mm: use proper PTE accessor in move_ptes()
Date: Mon, 20 Jul 2026 16:16:33 +0200
Follow the pattern established by commit c33c794828f2 ("mm: ptep_get() conversion") and use the proper PTE accessor instead of a direct pointer dereference.
Fixes b36b701bbcd9 ("mm: expose abnormal new_pte during move_ptes")
Signed-off-by Alexander Gordeev <[email protected]>
Cc Ryan Roberts <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/mremap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/mremap.c renamed from mm/mremap.c~mm-use-proper-pte-accessor-in-move_ptes +1 -1
@@ -264,7 +264,7 @@ static int move_ptes(struct pagetable_mofor (; old_addr < old_end; old_ptep += nr_ptes, old_addr += nr_ptes *PAGE_SIZE , new_ptep += nr_ptes, new_addr += nr_ptes *PAGE_SIZE ) { -VM_WARN_ON_ONCE (!pte_none (*new_ptep)); +VM_WARN_ON_ONCE (!pte_none (ptep_get (new_ptep))); nr_ptes =1 ; max_nr_ptes = (old_end - old_addr) >>PAGE_SHIFT ;
_
Patches currently in -mm which might be from [email protected] are