Skip to content

Commit 4c8bc7c

Browse files
Hao Jiaakpm00
authored andcommitted
cgroup: docs: add pswpin and pswpout items in cgroup v2 doc
The commit 15ff4d4 ("mm/memcontrol: add per-memcg pgpgin/pswpin counter") introduced the pswpin and pswpout items in the memory.stat of cgroup v2. Therefore, update them accordingly in the cgroup-v2 documentation. Link: https://lkml.kernel.org/r/20250318075833.90615-3-jiahao.kernel@gmail.com Fixes: 15ff4d4 ("mm/memcontrol: add per-memcg pgpgin/pswpin counter") Signed-off-by: Hao Jia <jiahao1@lixiang.com> Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Michal Hocko <mhocko@kernel.org> Cc: Michal Koutný <mkoutny@suse.com> Cc: Muchun Song <muchun.song@linux.dev> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Shakeel Butt <shakeel.butt@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent e452872 commit 4c8bc7c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,12 @@ The following nested keys are defined.
15611561
workingset_nodereclaim
15621562
Number of times a shadow node has been reclaimed
15631563

1564+
pswpin (npn)
1565+
Number of pages swapped into memory
1566+
1567+
pswpout (npn)
1568+
Number of pages swapped out of memory
1569+
15641570
pgscan (npn)
15651571
Amount of scanned pages (in an inactive LRU list)
15661572

0 commit comments

Comments
 (0)