mm-_install_special_mapping-apply-vm_locked_clear_mask.patch removed from -mm tree
The patch titled
Subject: mm: _install_special_mapping() apply VM_LOCKED_CLEAR_MASK
has been removed from the -mm tree. Its filename was
mm-_install_special_mapping-apply-vm_locked_clear_mask.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Hugh Dickins <[email protected]>
Subject: mm: _install_special_mapping() apply VM_LOCKED_CLEAR_MASK
_install_special_mapping() adds the VM_SPECIAL bit VM_DONTEXPAND (and never attempts to update locked_vm), so it ought to be consistent with mmap_region() and mlock_fixup(), making sure not to add VM_LOCKED or VM_LOCKONFAULT. I doubt that this fixes any problem in practice: just do it for consistency.
---
mm/mmap.c | 1 + 1 file changed, 1 insertion(+)
mm/mmap.c renamed from mm/mmap.c~mm-_install_special_mapping-apply-vm_locked_clear_mask +1 -0
@@ -3448,6 +3448,7 @@ static struct vm_area_struct *__install_ vma->vm_end = addr + len; vma->vm_flags = vm_flags | mm->def_flags |VM_DONTEXPAND |VM_SOFTDIRTY ; + vma->vm_flags &=VM_LOCKED_CLEAR_MASK ; vma->vm_page_prot =vm_get_page_prot (vma->vm_flags); vma->vm_ops = ops;
_
Patches currently in -mm which might be from [email protected] are
mm-delete-__clearpagewaiters.patch mm-filemap_unaccount_folio-large-skip-mapcount-fixup.patch mm-thp-fix-nr_file_mapped-accounting-in-page__file_rmap.patch mm-warn-on-deleting-redirtied-only-if-accounted.patch mm-unmap_mapping_range_tree-with-i_mmap_rwsem-shared.patch