Home
last modified time | relevance | path

Searched hist:"1 fc09228846dd41444bb1ac50995d1e6c3332015" (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dmmap.cdiff 1fc09228846dd41444bb1ac50995d1e6c3332015 Tue Mar 22 22:42:36 CET 2022 Hugh Dickins <hughd@google.com> 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.

Link: https://lkml.kernel.org/r/a85315a9-21d1-6133-c5fc-c89863dfb25b@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>