The quilt patch titled Subject: mm: drop unused set_pte_safe() has been removed from the -mm tree. Its filename was mm-drop-unused-set_pte_safe.patch This patch was dropped because it had testing failures ------------------------------------------------------ From: Anshuman Khandual <anshuman.khandual@xxxxxxx> Subject: mm: drop unused set_pte_safe() Date: Tue, 10 Sep 2024 15:40:26 +0530 All set_pte_safe() usage have been dropped after the commit eccd906484d1 ("x86/mm: Do not use set_{pud, pmd}_safe() when splitting a large page") This just drops now unused helper set_pte_safe(). Besides this macro was buggy due to doing direct dereferencing of the pte, and if it were to be kept, it should have been updated to use a single call to ptep_get(). Link: https://lkml.kernel.org/r/20240910101026.428808-1-anshuman.khandual@xxxxxxx Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx> Reviewed-by: Ryan Roberts <ryan.roberts@xxxxxxx> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Cc: "Mike Rapoport (IBM)" <rppt@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/pgtable.h | 6 ------ 1 file changed, 6 deletions(-) --- a/include/linux/pgtable.h~mm-drop-unused-set_pte_safe +++ a/include/linux/pgtable.h @@ -1064,12 +1064,6 @@ static inline int pgd_same(pgd_t pgd_a, * same value. Otherwise, use the typical "set" helpers and flush the * TLB. */ -#define set_pte_safe(ptep, pte) \ -({ \ - WARN_ON_ONCE(pte_present(*ptep) && !pte_same(*ptep, pte)); \ - set_pte(ptep, pte); \ -}) - #define set_pmd_safe(pmdp, pmd) \ ({ \ WARN_ON_ONCE(pmd_present(*pmdp) && !pmd_same(*pmdp, pmd)); \ _ Patches currently in -mm which might be from anshuman.khandual@xxxxxxx are mm-debug_vm_pgtable-use-pxdp_get-for-accessing-page-table-entries.patch