Commit 4c8bc7c4 authored by Hao Jia's avatar Hao Jia Committed by Andrew Morton
Browse files

cgroup: docs: add pswpin and pswpout items in cgroup v2 doc

The commit 15ff4d40 ("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: 15ff4d40 ("mm/memcontrol: add per-memcg pgpgin/pswpin counter") 
Signed-off-by: default avatarHao Jia <jiahao1@lixiang.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarJohannes 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: default avatarAndrew Morton <akpm@linux-foundation.org>
parent e452872b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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)