Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message May 12, 2017 Documentation

lore
Share & tools
lore
#0 lore raw

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

From: Roman Gushchin <[email protected]>
Subject: mm, docs: update memory.stat description with workingset* entries

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 renamed from Documentation/cgroup-v2.txt~mm-docs-update-memorystat-description-with-workingset-entries +12 -0
diff -puN Documentation/cgroup-v2.txt~mm-docs-update-memorystat-description-with-workingset-entries 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
+
   memory.swap.current
 
 	A read-only single value file which exists on non-root

_