s390-mm-accelerate-pagefault-when-badaccess.patch removed from -mm tree
The quilt patch titled
Subject: s390: mm: accelerate pagefault when badaccess
has been removed from the -mm tree. Its filename was
s390-mm-accelerate-pagefault-when-badaccess.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: Kefeng Wang <[email protected]>
Subject: s390: mm: accelerate pagefault when badaccess
Date: Wed, 3 Apr 2024 16:38:04 +0800
The vm_flags of vma already checked under per-VMA lock, if it is a bad access, directly handle error, no need to retry with mmap_lock again. Since the page faut is handled under per-VMA lock, count it as a vma lock event with VMA_LOCK_SUCCESS.
---
arch/s390/mm/fault.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/s390/mm/fault.c renamed from arch/s390/mm/fault.c~s390-mm-accelerate-pagefault-when-badaccess +2 -1
@@ -325,7 +325,8 @@ static void do_exception(struct pt_regs goto lock_mmap;if (!(vma->vm_flags & access)) {vma_end_read (vma); - goto lock_mmap; +count_vm_vma_lock_event (VMA_LOCK_SUCCESS ); +return handle_fault_error_nolock (regs,SEGV_ACCERR ); } fault =handle_mm_fault (vma, address, flags |FAULT_FLAG_VMA_LOCK , regs);if (!(fault & (VM_FAULT_RETRY |VM_FAULT_COMPLETED )))
_
Patches currently in -mm which might be from [email protected] are
arm64-mm-drop-vm_fault_badmap-vm_fault_badaccess.patch arm-mm-drop-vm_fault_badmap-vm_fault_badaccess.patch mm-move-mm-counter-updating-out-of-set_pte_range.patch mm-filemap-batch-mm-counter-updating-in-filemap_map_pages.patch mm-swapfile-check-usable-swap-device-in-__folio_throttle_swaprate.patch mm-memory-check-userfaultfd_wp-in-vmf_orig_pte_uffd_wp.patch