Skip to contentSkip to conversation

mm-mremap-dont-enable-optimized-pud-move-if-page-table-levels-is-2.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 9, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/mremap: don't enable optimized PUD move if page table levels is 2
has been removed from the -mm tree. Its filename was
mm-mremap-dont-enable-optimized-pud-move-if-page-table-levels-is-2.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "Aneesh Kumar K.V" <[email protected]>
Subject: mm/mremap: don't enable optimized PUD move if page table levels is 2

With two level page table don't enable move_normal_pud.

Cc Christophe Leroy <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Joel Fernandes <[email protected]>
Cc Kalesh Singh <[email protected]>
Cc Kirill A. Shutemov <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Stephen Rothwell <[email protected]>

---

 mm/mremap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/mremap.c renamed from mm/mremap.c~mm-mremap-dont-enable-optimized-pud-move-if-page-table-levels-is-2 +1 -1
@@ -276,7 +276,7 @@ static inline bool move_normal_pmd(struc
 }
 #endif
 
-#ifdef CONFIG_HAVE_MOVE_PUD
+#if CONFIG_PGTABLE_LEVELS > 2 && defined(CONFIG_HAVE_MOVE_PUD)
 static bool move_normal_pud(struct vm_area_struct *vma, unsigned long old_addr,
 		  unsigned long new_addr, pud_t *old_pud, pud_t *new_pud)
 {

_

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