[PATCH 0/4] mm/vmstat: simplify folio stat APIs
From: Ye Liu
Date: Tue Apr 14 2026 - 05:16:12 EST
From: Ye Liu <liuye@xxxxxxxxxx>
This series simplifies folio statistics accounting by:
1. Replacing node_stat_mod_folio/zone_stat_mod_folio with more semantic
add_folio/sub_folio functions
2. Removing unused __node_stat_* and __zone_stat_* wrapper functions
Ye Liu (4):
mm/vmstat: use node_stat_add_folio/sub_folio for folio_nr_pages
operations
mm/vmstat: use zone_stat_add_folio/sub_folio for folio_nr_pages
operations
mm/vmstat: remove unused __node_stat_* wrappers
mm/vmstat: remove unused __zone_stat_* wrappers
fs/nfs/internal.h | 2 +-
fs/nfs/write.c | 2 +-
include/linux/vmstat.h | 36 ------------------------------------
mm/compaction.c | 5 ++---
mm/gup.c | 5 ++---
mm/khugepaged.c | 10 ++++------
mm/mempolicy.c | 5 ++---
mm/migrate.c | 12 +++++-------
mm/mlock.c | 6 +++---
mm/page-writeback.c | 16 ++++++++--------
mm/page_alloc.c | 2 +-
mm/swap_state.c | 4 ++--
12 files changed, 31 insertions(+), 74 deletions(-)
--
2.43.0