WSL2-Linux-Kernel/fs
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
..
9p
adfs
affs
afs afs: convert afs_writepages_region() to use filemap_get_folios_tag() 2023-02-02 22:33:14 -08:00
autofs
befs
bfs
btrfs btrfs: convert extent_write_cache_pages() to use filemap_get_folios_tag() 2023-02-02 22:33:14 -08:00
cachefiles
ceph ceph: convert ceph_writepages_start() to use filemap_get_folios_tag() 2023-02-02 22:33:15 -08:00
cifs fs: convert writepage_t callback to pass a folio 2023-02-02 22:33:34 -08:00
coda
configfs
cramfs mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
crypto
debugfs
devpts
dlm
ecryptfs
efivarfs
efs
erofs mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
exfat
exportfs
ext2
ext4 mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
f2fs f2fs: convert f2fs_sync_meta_pages() to use filemap_get_folios_tag() 2023-02-02 22:33:16 -08:00
fat
freevxfs freevxfs: Kconfig: fix spelling 2023-01-31 16:44:08 -08:00
fscache
fuse mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
gfs2 gfs2: convert gfs2_write_cache_jdata() to use filemap_get_folios_tag() 2023-02-02 22:33:17 -08:00
hfs
hfsplus
hostfs
hpfs
hugetlbfs mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
iomap fs: convert writepage_t callback to pass a folio 2023-02-02 22:33:34 -08:00
isofs
jbd2 jbd2,ocfs2: move jbd2_journal_submit_inode_data_buffers to ocfs2 2023-01-18 17:12:51 -08:00
jffs2
jfs
kernfs
ksmbd
lockd
minix
netfs
nfs fs: convert writepage_t callback to pass a folio 2023-02-02 22:33:34 -08:00
nfs_common
nfsd
nilfs2 nilfs2: convert nilfs_clear_dirty_pages() to use filemap_get_folios_tag() 2023-02-02 22:33:18 -08:00
nls
notify
ntfs
ntfs3 fs: convert writepage_t callback to pass a folio 2023-02-02 22:33:34 -08:00
ocfs2 ocfs2: use filemap_fdatawrite_wbc instead of generic_writepages 2023-01-18 17:12:51 -08:00
omfs
openpromfs
orangefs mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
overlayfs
proc mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
pstore
qnx4
qnx6
quota
ramfs mm/nommu: factor out check for NOMMU shared mappings into is_nommu_shared_mapping() 2023-01-18 17:12:56 -08:00
reiserfs reiserfs: replace obvious uses of b_page with b_folio 2023-01-18 17:12:41 -08:00
romfs mm/nommu: factor out check for NOMMU shared mappings into is_nommu_shared_mapping() 2023-01-18 17:12:56 -08:00
smbfs_common
squashfs Squashfs: fix handling and sanity checking of xattr_ids count 2023-01-31 16:44:10 -08:00
sysfs
sysv
tracefs
ubifs
udf
ufs
unicode
vboxsf
verity
xfs mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
zonefs
Kconfig
Kconfig.binfmt
Makefile
aio.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
anon_inodes.c
attr.c
bad_inode.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_elf_test.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
buffer.c buffer: use b_folio in mark_buffer_dirty() 2023-01-18 17:12:40 -08:00
char_dev.c
compat_binfmt_elf.c
coredump.c coredump: convert to vma iterator 2023-02-09 16:51:33 -08:00
d_path.c
dax.c
dcache.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
fcntl.c
fhandle.c
file.c
file_table.c
filesystems.c
fs-writeback.c mm: convert mem_cgroup_css_from_page() to mem_cgroup_css_from_folio() 2023-02-02 22:33:19 -08:00
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c
internal.h
ioctl.c
kernel_read_file.c
libfs.c
locks.c
mbcache.c
mount.h
mpage.c mpage: convert __mpage_writepage() to use a folio more fully 2023-02-02 22:33:34 -08:00
namei.c
namespace.c
no-block.c
nsfs.c
open.c
pipe.c
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c
sync.c
sysctls.c
timerfd.c
userfaultfd.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
utimes.c
xattr.c