android_kernel_motorola_sm6375/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Brian Geffon 2af548dd44 BACKPORT: FROMLIST: Revert "mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aio"
This reverts commit cd544fd1dc9293c6702fab6effa63dac1cc67e99.

As discussed in [1] this commit was a no-op because the mapping type was
checked in vma_to_resize before move_vma is ever called. This meant that
vm_ops->mremap() would never be called on such mappings. Furthermore,
we've since expanded support of MREMAP_DONTUNMAP to non-anonymous
mappings, and these special mappings are still protected by the existing
check of !VM_DONTEXPAND and !VM_PFNMAP which will result in a -EINVAL.

1. https://lkml.org/lkml/2020/12/28/2340

Signed-off-by: Brian Geffon <bgeffon@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Link: https://lore.kernel.org/patchwork/patch/1401226/
Conflicts: include/linux/mm.h
(Resolved minor conflict with manual rebase)
Bug: 160737021
Bug: 169683130
Change-Id: I97d29e6a54cee07ba69d6bb880778ee1fea8ff7c
2025-05-18 08:08:42 +00:00
..
acpi
asm-generic
clocksource
crypto Merge android11-5.4.268+ (66f4b04) into msm-5.4 2024-04-10 23:53:13 -07:00
drm This is the 5.4.285 stable release 2024-11-09 11:29:17 +00:00
dt-bindings
keys
kvm
linux BACKPORT: FROMLIST: Revert "mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aio" 2025-05-18 08:08:42 +00:00
math-emu
media Revert "media: rename VFL_TYPE_GRABBER to _VIDEO" 2024-04-17 16:49:02 +00:00
misc
net Merge tag 'ASB-2025-05-05_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-05-18 08:00:20 +00:00
pcmcia
ras
rdma
scsi
soc Merge android11-5.4.274 (564901b) into msm-5.4 2024-07-24 20:38:43 -07:00
sound
target
trace BACKPORT: FROMGIT: userfaultfd: add minor fault registration mode 2025-05-18 08:08:42 +00:00
uapi UPSTREAM: mm/mremap: add MREMAP_DONTUNMAP to mremap() 2025-05-18 08:08:42 +00:00
vdso
video
xen xen/xenbus: fix locking 2024-12-14 19:44:47 +01:00
OWNERS