[PATCH 0/8] mm: remove newly-unused page wrapper APIs

From: Tal Zussman

Date: Mon Nov 02 2026 - 18:09:19 EST


After some folio conversions done last cycle (namely ceph, f2fs, btrfs,
fuse, and page_io.c), there are a number of newly-unused page APIs.
Let's remove them and update comments as necessary.

Patches 1 and 8 are taken from the ceph writeback folio series [1],
along with tags.

[1] https://lore.kernel.org/r/20260810-remove-wait-on-page-writeback-v3-0-dd7531704f26@xxxxxxxxxxxx/

---
Tal Zussman (8):
mm: remove wait_on_page_writeback()
mm: remove end_page_writeback()
mm: remove clear_page_dirty_for_io()
mm: remove attach_page_private() and detach_page_private()
mm: remove find_get_page_flags()
mm: remove find_lock_page()
mm: remove read_cache_page_gfp()
mm: remove thp_size() and thp_order()

include/linux/mm.h | 21 ---------------------
include/linux/pagemap.h | 40 ----------------------------------------
include/linux/writeback.h | 2 +-
mm/filemap.c | 23 -----------------------
mm/folio-compat.c | 18 ------------------
mm/gup.c | 6 +++---
mm/migrate.c | 2 +-
mm/page-writeback.c | 2 +-
mm/shmem.c | 4 ++--
9 files changed, 8 insertions(+), 110 deletions(-)
---
base-commit: 0e02eb17f263e4a3ae6bf1fe45122c23361f0cf7
change-id: 20261030-page-wrappers-33c7876a10a0

Best regards,
--
Tal Zussman <tz2294@xxxxxxxxxxxx>