Skip to contentSkip to conversation

mm-dirty-replace-read_once-with-pudp_get.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Nov 17, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/dirty: replace READ_ONCE() with pudp_get()
has been removed from the -mm tree. Its filename was
mm-dirty-replace-read_once-with-pudp_get.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: Anshuman Khandual <[email protected]>
Subject: mm/dirty: replace READ_ONCE() with pudp_get()
Date: Mon, 6 Oct 2025 06:52:14 +0100

Replace READ_ONCE() with a standard page table accessor i.e pudp_get() that anyways defaults into READ_ONCE() in cases where platform does not override

---

 mm/mapping_dirty_helpers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/mapping_dirty_helpers.c renamed from mm/mapping_dirty_helpers.c~mm-dirty-replace-read_once-with-pudp_get +1 -1
@@ -149,7 +149,7 @@ static int wp_clean_pud_entry(pud_t *pud
 			      struct mm_walk *walk)
 {
 #ifdef CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD
-	pud_t pudval = READ_ONCE(*pud);
+	pud_t pudval = pudp_get(pud);
 
 	/* Do not split a huge pud */
 	if (pud_trans_huge(pudval)) {

_

Patches currently in -mm which might be from [email protected] are