linux-stable/drivers
Suren Baghdasaryan 1c71222e5f mm: replace vma->vm_flags direct modifications with modifier calls
Replace direct modifications to vma->vm_flags with calls to modifier
functions to be able to track flag changes and to keep vma locking
correctness.

[akpm@linux-foundation.org: fix drivers/misc/open-dice.c, per Hyeonggon Yoo]
Link: https://lkml.kernel.org/r/20230126193752.297968-5-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arjun Roy <arjunroy@google.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: David Rientjes <rientjes@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Joel Fernandes <joelaf@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Laurent Dufour <ldufour@linux.ibm.com>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Minchan Kim <minchan@google.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Peter Oskolkov <posk@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Punit Agrawal <punit.agrawal@bytedance.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Cc: Song Liu <songliubraving@fb.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-02-09 16:51:39 -08:00
..
accel
accessibility
acpi mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
amba
android mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
ata ata: pata_cs5535: Don't build on UML 2023-01-14 07:38:48 +09:00
atm
auxdisplay
base mm: memory-failure: add memory failure stats to sysfs 2023-02-02 22:33:28 -08:00
bcma
block block: remove ->rw_page 2023-02-02 22:33:34 -08:00
bluetooth
bus
cdrom
char mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
clk
clocksource
comedi
connector
counter
cpufreq cpufreq: amd-pstate: fix kernel hang issue while amd-pstate unregistering 2023-01-10 20:31:08 +01:00
cpuidle
crypto mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
cxl
dax mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
dca
devfreq
dio
dma mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
dma-buf
edac
eisa
extcon
firewire
firmware kernel hardening fixes for v6.2-rc4 2023-01-14 10:04:00 -06:00
fpga
fsi
gnss
gpio
gpu mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
greybus
hid
hsi mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
hte
hv
hwmon
hwspinlock
hwtracing mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
i2c
i3c
idle
iio
infiniband mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
input xen: branch for v6.2-rc4 2023-01-12 17:02:20 -06:00
interconnect
iommu mm: discard __GFP_ATOMIC 2023-02-02 22:33:13 -08:00
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
memory
memstick
message
mfd
misc mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
mmc
most
mtd
mux
net Including fixes from rxrpc. 2023-01-12 18:20:44 -06:00
nfc nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame() 2023-01-09 07:34:13 +00:00
ntb
nubus
nvdimm block: remove ->rw_page 2023-02-02 22:33:34 -08:00
nvme block-6.2-2023-01-13 2023-01-13 17:41:19 -06:00
nvmem
of Revert "mm: kmemleak: alloc gray object for reserved region with direct map" 2023-01-31 16:44:09 -08:00
opp
parisc
parport
pci pci-v6.2-fixes-1 2023-01-13 17:32:22 -06:00
pcmcia
peci
perf
phy
pinctrl
platform platform/x86: thinkpad_acpi: Fix profile mode display in AMT mode 2023-01-13 11:40:30 +01:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
scsi mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
sh
siox
slimbus
soc
soundwire
spi spi: Merge rename of spi-cs-setup-ns DT property 2023-01-11 14:15:22 +00:00
spmi
ssb
staging mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
target mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
tc
tee
thermal
thunderbolt
tty xen: branch for v6.2-rc4 2023-01-12 17:02:20 -06:00
ufs
uio mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
usb mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
vdpa mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
vfio mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
vhost mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
video mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
virt
virtio
vlynq
w1
watchdog
xen mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
zorro
Kconfig
Makefile