mm-rename-ptep-pmdp_clear_young_notify-to-ptep-pmdp_test_and_clear_young_notify.patch removed from -mm tree
The quilt patch titled
Subject: mm: rename ptep/pmdp_clear_young_notify() to ptep/pmdp_test_and_clear_young_notify()
has been removed from the -mm tree. Its filename was
mm-rename-ptep-pmdp_clear_young_notify-to-ptep-pmdp_test_and_clear_young_notify.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: Baolin Wang <[email protected]>
Subject: mm: rename ptep/pmdp_clear_young_notify() to ptep/pmdp_test_and_clear_young_notify()
Date: Fri, 6 Mar 2026 14:43:38 +0800
Rename ptep/pmdp_clear_young_notify() to ptep/pmdp_test_and_clear_young_notify() to make the function names consistent.
---
mm/internal.h | 8 ++++---- mm/vmscan.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-)
mm/internal.h renamed from mm/internal.h~mm-rename-ptep-pmdp_clear_young_notify-to-ptep-pmdp_test_and_clear_young_notify +4 -4
@@ -1819,7 +1819,7 @@ static inline int pmdp_clear_flush_youngreturn young; } -static inline int ptep_clear_young_notify (struct vm_area_struct *vma, +static inline int ptep_test_and_clear_young_notify (struct vm_area_struct *vma,unsigned long addr,pte_t *ptep) {int young;
@@ -1829,7 +1829,7 @@ static inline int ptep_clear_young_notifreturn young; } -static inline int pmdp_clear_young_notify (struct vm_area_struct *vma, +static inline int pmdp_test_and_clear_young_notify (struct vm_area_struct *vma,unsigned long addr,pmd_t *pmdp) {int young;
@@ -1843,8 +1843,8 @@ static inline int pmdp_clear_young_notif#define clear_flush_young_ptes_notify clear_flush_young_ptes#define pmdp_clear_flush_young_notify pmdp_clear_flush_young -#define ptep_clear_young_notify ptep_test_and_clear_young -#define pmdp_clear_young_notify pmdp_test_and_clear_young +#define ptep_test_and_clear_young_notify ptep_test_and_clear_young +#define pmdp_test_and_clear_young_notify pmdp_test_and_clear_young#endif /* CONFIG_MMU_NOTIFIER */
mm/vmscan.c renamed from mm/vmscan.c~mm-rename-ptep-pmdp_clear_young_notify-to-ptep-pmdp_test_and_clear_young_notify +4 -4
@@ -3533,7 +3533,7 @@ restart:if (!folio)continue ; -if (!ptep_clear_young_notify (args->vma, addr, pte + i)) +if (!ptep_test_and_clear_young_notify (args->vma, addr, pte + i))continue ;if (last != folio) {
@@ -3624,7 +3624,7 @@ static void walk_pmd_range_locked(pud_tif (!folio) goto next; -if (!pmdp_clear_young_notify (vma, addr, pmd + i)) +if (!pmdp_test_and_clear_young_notify (vma, addr, pmd + i)) goto next;if (last != folio) {
@@ -4214,7 +4214,7 @@ bool lru_gen_look_around(struct page_vmalockdep_assert_held (pvmw->ptl);VM_WARN_ON_ONCE_FOLIO (folio_test_lru (folio), folio); -if (!ptep_clear_young_notify (vma, addr, pte)) +if (!ptep_test_and_clear_young_notify (vma, addr, pte))return false;if (spin_is_contended (pvmw->ptl))
@@ -4260,7 +4260,7 @@ bool lru_gen_look_around(struct page_vmaif (!folio)continue ; -if (!ptep_clear_young_notify (vma, addr, pte + i)) +if (!ptep_test_and_clear_young_notify (vma, addr, pte + i))continue ;if (last != folio) {
_
Patches currently in -mm which might be from [email protected] are
mm-filemap-fix-nr_pages-calculation-overflow-in-filemap_map_pages.patch mm-vmscan-fix-dirty-folios-throttling-on-cgroup-v1-for-mglru.patch