Skip to content

Commit

Permalink
cgroup: docs: add pswpin and pswpout items in cgroup v2 doc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hao Jia authored and Andrew Morton committed Mar 22, 2025
1 parent e452872 commit 4c8bc7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/admin-guide/cgroup-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,12 @@ The following nested keys are defined.
workingset_nodereclaim
Number of times a shadow node has been reclaimed

pswpin (npn)
Number of pages swapped into memory

pswpout (npn)
Number of pages swapped out of memory

pgscan (npn)
Amount of scanned pages (in an inactive LRU list)

Expand Down

0 comments on commit 4c8bc7c

Please sign in to comment.