Skip to contentSkip to conversation

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

PATCH Applied Roman Gushchin 3 participants 3 messages May 11, 2017 – May 16, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 file:
- workingset_refault,
- workingset_activate,
- workingset_nodereclaim.

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

---
 Documentation/cgroup-v2.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/cgroup-v2.txt +12 -0
index e50b95c..dc5e2dc 100644
@@ -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
+
   memory.swap.current
 
 	A read-only single value file which exists on non-root
Signature · 1 line
2.7.4
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Roman Gushchin

Commit 4b4cea91691d ("mm: vmscan: fix IO/refault regression in cache workingset transition") introduced three new entries in memory stat file:
- workingset_refault,
- workingset_activate,
- workingset_nodereclaim.

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

Quoted 9 lines

Thanks Roman!

Acked-by on v1 1/1
#2 lore raw
In reply to Roman Gushchin
Quoted 9 lines · Roman Gushchin

Commit 4b4cea91691d ("mm: vmscan: fix IO/refault regression in cache workingset transition") introduced three new entries in memory stat file:
- workingset_refault,
- workingset_activate,
- workingset_nodereclaim.

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

Quoted 9 lines

Missed this one. Sorry about that

Quoted 29 lines
---
 Documentation/cgroup-v2.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/cgroup-v2.txt +12 -0
index e50b95c..dc5e2dc 100644
@@ -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
+
   memory.swap.current
 
 	A read-only single value file which exists on non-root
Signature · 1 line
2.7.4
Signature · 2 lines
Michal Hocko
SUSE Labs