[PATCH 0/2] Adding Proactive Memory Reclaim Statistics

From: Hao Jia
Date: Tue Mar 18 2025 - 04:02:01 EST


From: Hao Jia <jiahao1@xxxxxxxxxxx>

These two patches are related to proactive memory reclaim.

Patch 1 Split proactive reclaim statistics from direct reclaim counters
and introduces new counters: pgsteal_proactive, pgdemote_proactive,
and pgscan_proactive.

Patch 2 Adds pswpin and pswpout items to the cgroup-v2 documentation.

Hao Jia (2):
mm: vmscan: Split proactive reclaim statistics from direct reclaim
statistics
cgroup, docs: Add pswpin and pswpout items in cgroup v2 doc

Documentation/admin-guide/cgroup-v2.rst | 15 +++++++++++
include/linux/mmzone.h | 1 +
include/linux/vm_event_item.h | 2 ++
mm/memcontrol.c | 7 +++++
mm/vmscan.c | 35 ++++++++++++++-----------
mm/vmstat.c | 3 +++
6 files changed, 48 insertions(+), 15 deletions(-)

--
2.34.1