[PATCH 3/3] mm: multi-gen LRU: add per memcg "lru_gen" document
From: Huan Yang
Date: Sun Oct 08 2023 - 22:58:25 EST
From: HuanYang <link@xxxxxxxx>
change multi-gen LRU document.
Signed-off-by: Huan Yang <link@xxxxxxxx>
---
Documentation/admin-guide/mm/multigen_lru.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/admin-guide/mm/multigen_lru.rst b/Documentation/admin-guide/mm/multigen_lru.rst
index 33e068830497..078056b8cc7c 100644
--- a/Documentation/admin-guide/mm/multigen_lru.rst
+++ b/Documentation/admin-guide/mm/multigen_lru.rst
@@ -160,3 +160,13 @@ cold pages because of the overestimation, it retries on the next
server according to the ranking result obtained from the working set
estimation step. This less forceful approach limits the impacts on the
existing jobs.
+
+Per memcg lru gen node
+-----------------
+In each memcg's dir, it contains ``lru_gen`` node. you can type upon cmd
+without input memcg_id to do the same thing.
+
+ ``+ node_id max_gen_nr [can_swap [force_scan]]``
+ ``- node_id min_gen_nr [swappiness [nr_to_reclaim]]``
+
+For show info, memcg's node always show the full info.
--
2.34.1