linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] mm: Remove stray references to pagevec
@ 2026-02-25 23:44 Tal Zussman
  2026-02-25 23:44 ` [PATCH v2 1/4] mm: Remove stray references to struct pagevec Tal Zussman
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Tal Zussman @ 2026-02-25 23:44 UTC (permalink / raw)
  To: David Howells, Marc Dionne, Jaegeuk Kim, Chao Yu, Andrew Morton,
	David Hildenbrand, Lorenzo Stoakes, Liam R. Howlett,
	Vlastimil Babka, Mike Rapoport, Suren Baghdasaryan, Michal Hocko,
	Chris Li, Kairui Song, Kemeng Shi, Nhat Pham, Baoquan He,
	Barry Song, Matthew Wilcox, Dan Williams, Jan Kara,
	Alexander Viro, Christian Brauner, Theodore Ts'o
  Cc: Andreas Dilger, Paulo Alcantara, Trond Myklebust, Anna Schumaker,
	Mark Fasheh, Joel Becker, Joseph Qi, Steve French,
	Ronnie Sahlberg, Shyam Prasad N, Tom Talpey, Bharath SM,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Simona Vetter, Jani Nikula, Joonas Lahtinen,
	Rodrigo Vivi, Tvrtko Ursulin, Chris Mason, David Sterba,
	Ilya Dryomov, Alex Markuze, Viacheslav Dubeyko,
	Andreas Gruenbacher, Muchun Song, Oscar Salvador,
	Ryusuke Konishi, Darrick J. Wong, Chuck Lever, Jeff Layton,
	NeilBrown, Olga Kornievskaia, Dai Ngo, Jason Gunthorpe,
	John Hubbard, Peter Xu, Johannes Weiner, Roman Gushchin,
	Shakeel Butt, Jann Horn, Pedro Falcato, Brendan Jackman, Zi Yan,
	Hugh Dickins, Baolin Wang, Axel Rasmussen, Yuanchu Xie, Wei Xu,
	Qi Zheng, linux-afs, linux-kernel, linux-f2fs-devel, linux-mm,
	linux-fsdevel, nvdimm, linux-ext4, netfs, linux-nfs, ocfs2-devel,
	linux-cifs, samba-technical, dri-devel, intel-gfx, linux-btrfs,
	ceph-devel, gfs2, linux-nilfs, linux-xfs, cgroups, Tal Zussman

struct pagevec was removed in commit 1e0877d58b1e ("mm: remove struct
pagevec"). Remove any stray references to it and rename relevant files
and macros accordingly.

While at it, remove unnecessary #includes of pagevec.h (now
folio_batch.h) in .c files. There are probably more of these that could
be removed in .h files, but those are more complex to verify.

---
Changes in v2:
- Add tags from Matthew, David, and Chris (thanks!).
- Add 3 new patches with more cleanups.
- Link to v1: https://lore.kernel.org/r/20260225-pagevec_cleanup-v1-1-38e2246363d2@columbia.edu

---
Tal Zussman (4):
      mm: Remove stray references to struct pagevec
      fs: Remove unncessary pagevec.h includes
      folio_batch: Rename pagevec.h to folio_batch.h
      folio_batch: Rename PAGEVEC_SIZE to FOLIO_BATCH_SIZE

 MAINTAINERS                                |  1 +
 drivers/gpu/drm/drm_gem.c                  |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_gtt.h        |  2 +-
 drivers/gpu/drm/i915/i915_gpu_error.c      |  2 +-
 fs/afs/internal.h                          |  1 -
 fs/afs/write.c                             |  1 -
 fs/btrfs/compression.c                     |  2 +-
 fs/btrfs/extent_io.c                       |  6 +++---
 fs/btrfs/tests/extent-io-tests.c           |  2 +-
 fs/buffer.c                                |  2 +-
 fs/ceph/addr.c                             |  2 +-
 fs/dax.c                                   |  1 -
 fs/ext4/file.c                             |  1 -
 fs/ext4/inode.c                            |  2 +-
 fs/ext4/page-io.c                          |  1 -
 fs/ext4/readpage.c                         |  1 -
 fs/f2fs/checkpoint.c                       |  2 +-
 fs/f2fs/compress.c                         |  2 +-
 fs/f2fs/data.c                             |  2 +-
 fs/f2fs/f2fs.h                             |  2 --
 fs/f2fs/file.c                             |  1 -
 fs/f2fs/node.c                             |  2 +-
 fs/gfs2/aops.c                             |  2 +-
 fs/hugetlbfs/inode.c                       |  2 +-
 fs/mpage.c                                 |  1 -
 fs/netfs/buffered_write.c                  |  1 -
 fs/nfs/blocklayout/blocklayout.c           |  1 -
 fs/nfs/dir.c                               |  1 -
 fs/nilfs2/btree.c                          |  2 +-
 fs/nilfs2/page.c                           |  2 +-
 fs/nilfs2/segment.c                        |  2 +-
 fs/ocfs2/refcounttree.c                    |  1 -
 fs/ramfs/file-nommu.c                      |  2 +-
 fs/smb/client/connect.c                    |  1 -
 fs/smb/client/file.c                       |  1 -
 include/linux/{pagevec.h => folio_batch.h} | 16 ++++++++--------
 include/linux/folio_queue.h                |  8 ++++----
 include/linux/iomap.h                      |  2 +-
 include/linux/sunrpc/svc.h                 |  2 +-
 include/linux/swap.h                       |  2 --
 include/linux/writeback.h                  |  2 +-
 mm/filemap.c                               |  2 +-
 mm/gup.c                                   |  2 +-
 mm/memcontrol.c                            |  2 +-
 mm/mlock.c                                 |  2 +-
 mm/page-writeback.c                        |  2 +-
 mm/page_alloc.c                            |  2 +-
 mm/shmem.c                                 |  6 +++---
 mm/swap.c                                  |  4 ++--
 mm/swap_state.c                            |  4 ++--
 mm/truncate.c                              |  8 ++++----
 mm/vmscan.c                                |  2 +-
 53 files changed, 56 insertions(+), 73 deletions(-)
---
base-commit: 957a3fab8811b455420128ea5f41c51fd23eb6c7
change-id: 20260225-pagevec_cleanup-d47c16cb0f2d

Best regards,
-- 
Tal Zussman <tz2294@columbia.edu>



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-02-26 13:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-25 23:44 [PATCH v2 0/4] mm: Remove stray references to pagevec Tal Zussman
2026-02-25 23:44 ` [PATCH v2 1/4] mm: Remove stray references to struct pagevec Tal Zussman
2026-02-25 23:44 ` [PATCH v2 2/4] fs: Remove unncessary pagevec.h includes Tal Zussman
2026-02-26 13:12   ` Jan Kara
2026-02-25 23:44 ` [PATCH v2 3/4] folio_batch: Rename pagevec.h to folio_batch.h Tal Zussman
2026-02-26 13:14   ` Jan Kara
2026-02-26 13:18   ` David Hildenbrand (Arm)
2026-02-25 23:44 ` [PATCH v2 4/4] folio_batch: Rename PAGEVEC_SIZE to FOLIO_BATCH_SIZE Tal Zussman
2026-02-26 13:14   ` Jan Kara
2026-02-26 13:20   ` David Hildenbrand (Arm)
2026-02-26  0:41 ` [PATCH v2 0/4] mm: Remove stray references to pagevec Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox