mm, docs: update memory.stat description with workingset* entries

This change “mm, docs: update memory.stat description with workingset* entries” in Linux kernel is authored by Roman Gushchin <guro [at]> on Fri May 12 15:47:09 2017 -0700.

mm, docs: update memory.stat description with workingset* entries

Commit 4b4cea91691d ("mm: vmscan: fix IO/refault regression in cache
workingset transition") introduced three new entries in memory stat

 - workingset_refault
 - workingset_activate
 - workingset_nodereclaim

This commit adds a corresponding description to the cgroup v2 docs.

Signed-off-by: Roman Gushchin <>
Cc: Johannes Weiner <>
Cc: Michal Hocko <>
Cc: Vladimir Davydov <>
Cc: Tejun Heo <>
Cc: Li Zefan <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit b340959.

There are 12 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 Documentation/cgroup-v2.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/cgroup-v2.txt b/Documentation/cgroup-v2.txt
index e50b95c..dc5e2dc 100644
--- a/Documentation/cgroup-v2.txt
+++ b/Documentation/cgroup-v2.txt
@@ -918,6 +918,18 @@ PAGE_SIZE multiple when read back.
 		Number of major page faults incurred
+	  workingset_refault
+		Number of refaults of previously evicted pages
+	  workingset_activate
+		Number of refaulted pages that were immediately activated
+	  workingset_nodereclaim
+		Number of times a shadow node has been reclaimed
 	A read-only single value file which exists on non-root

The commit for this change in Linux stable tree is b340959 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *