mm-use-update_mmu_tlb_range-to-simplify-code.patch removed from -mm tree
The quilt patch titled
Subject: mm: use update_mmu_tlb_range() to simplify code
has been removed from the -mm tree. Its filename was
mm-use-update_mmu_tlb_range-to-simplify-code.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: "Bang Li" <[email protected]>
Subject: mm: use update_mmu_tlb_range() to simplify code
Date: Wed, 22 May 2024 14:12:04 +0800
Let us simplify the code by update_mmu_tlb_range().
Signed-off-by Bang Li <[email protected]>
Reviewed-by Lance Yang <[email protected]>
Cc Chris Zankel <[email protected]>
Cc Huacai Chen <[email protected]>
Cc Max Filippov <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Ryan Roberts <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memory.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
mm/memory.c renamed from mm/memory.c~mm-use-update_mmu_tlb_range-to-simplify-code +1 -3
@@ -4457,7 +4457,6 @@ static vm_fault_t do_anonymous_page(struvm_fault_t ret =0 ;int nr_pages =1 ;pte_t entry; -int i;/* File mapping without ->vm_ops ? */ if (vma->vm_flags &VM_SHARED )
@@ -4527,8 +4526,7 @@ static vm_fault_t do_anonymous_page(struupdate_mmu_tlb (vma, addr, vmf->pte); goto release; }else if (nr_pages >1 && !pte_range_none (vmf->pte, nr_pages)) { -for (i =0 ; i < nr_pages; i++) -update_mmu_tlb (vma, addr +PAGE_SIZE * i, vmf->pte + i); +update_mmu_tlb_range (vma, addr, vmf->pte, nr_pages); goto release; }
_
Patches currently in -mm which might be from [email protected] are