Skip to content

mm: Remove stray references to pagevec

Tal Zussman ceph-devel cgroups dri-devel gfs2 intel-gfx linux-btrfs linux-cifs linux-ext4 linux-f2fs-devel linux-fsdevel linux-mm linux-nfs linux-nilfs linux-xfs lkml netfs nvdimm ocfs2-devel 2 versions Applied

Status from this message: [merged mm-stable] folio_batch-rename-pagevec_size-to-folio_batch_size.patch removed from -mm tree

Get series with b4
b4 am [email protected] change-id 20260225-pagevec_cleanup-d47c16cb0f2d

Versions newest first

  1. v2 Latest4 patches 15 repliesApplied 4/4
  2. v11 patch 4 repliesSuperseded

Changes in v2 from the cover letter

- Add tags from Matthew, David, and Chris (thanks!).
- Add 3 new patches with more cleanups.
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4mm: Remove stray references to struct pagevecfs/afs/internal.h fs/f2fs/f2fs.h include/linux/pagevec.h +1 more+1 -62 repliesApplied
2/4fs: Remove unncessary pagevec.h includesfs/afs/write.c fs/dax.c fs/ext4/file.c +10 more+0 -134 repliesApplied
3/4folio_batch: Rename pagevec.h to folio_batch.hMAINTAINERS drivers/gpu/drm/drm_gem.c drivers/gpu/drm/i915/gem/i915_gem_shmem.c +34 more+40 -394 repliesApplied
4/4folio_batch: Rename PAGEVEC_SIZE to FOLIO_BATCH_SIZEfs/btrfs/extent_io.c include/linux/folio_batch.h include/linux/folio_queue.h +4 more+15 -154 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMatthew Wilcox (Oracle)David Hildenbrand (Arm)Chris LiJan KaraZi YanLorenzo Stoakes (Oracle)
1/4R-b A-b A-b A-b R-b
2/4A-b R-b A-b R-b
3/4A-b R-b A-b R-b
4/4A-b R-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] mm: Remove stray references to pagevec

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/[email protected]

---
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,

Signature · 1 line
Tal Zussman <[email protected]>