android_kernel_xiaomi_sm7250/include
Christian König deab481fa8 mm: introduce vma_set_file function v5
Add the new vma_set_file() function to allow changing
vma->vm_file with the necessary refcount dance.

v2: add more users of this.
v3: add missing EXPORT_SYMBOL, rebase on mmap cleanup,
    add comments why we drop the reference on two occasions.
v4: make it clear that changing an anonymous vma is illegal.
v5: move vma_set_file to mm/util.c

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v2)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://patchwork.freedesktop.org/patch/399360/
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
Change-Id: If77ffac122fac2da1ec34b886784381c4648b2c5
2022-11-12 11:21:27 +00:00
..
acpi
asm-generic FROMLIST: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG 2022-11-12 11:21:15 +00:00
clocksource
crypto
drm drm: msm: Import xiaomi drm modifications 2022-11-12 11:19:14 +00:00
dt-bindings drivers: led/flashlight: import picasso-r-oss changes 2022-11-12 11:19:13 +00:00
keys
kvm
linux mm: introduce vma_set_file function v5 2022-11-12 11:21:27 +00:00
math-emu
media
memory
microvisor
misc
net BACKPORT: UPSTREAM: cfg80211: separate get channel number from ies 2022-11-12 11:20:51 +00:00
pcmcia
ras
rdma
scsi Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
soc icnss: Fix suspend errors caused by wrong paired PM operation 2022-11-12 11:19:34 +00:00
sound
target
trace mm: mmap: add trace point of vm_unmapped_area 2022-11-12 11:21:21 +00:00
uapi mm/mremap: add MREMAP_DONTUNMAP to mremap() 2022-11-12 11:21:21 +00:00
vdso
video
vservices
xen
Kbuild
OWNERS