[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230914104754.55-4-link@vivo.com>
Date: Thu, 14 Sep 2023 18:47:45 +0800
From: Huan Yang <link@...o.com>
To: Jonathan Corbet <corbet@....net>,
Andrew Morton <akpm@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Shakeel Butt <shakeelb@...gle.com>,
Muchun Song <muchun.song@...ux.dev>,
Suleiman Souhlal <suleiman@...gle.com>,
Mike Rapoport <rppt@...nel.org>,
"Jan Alexander Steffens (heftig)" <heftig@...hlinux.org>,
Yu Zhao <yuzhao@...gle.com>, Huan Yang <link@...o.com>,
Brian Geffon <bgeffon@...gle.com>,
Gaosheng Cui <cuigaosheng1@...wei.com>,
Peter Xu <peterx@...hat.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
"T.J. Alumbaugh" <talumbau@...gle.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, cgroups@...r.kernel.org,
Oleksandr Natalenko <oleksandr@...alenko.name>,
Steven Barrett <steven@...uorix.net>,
Suren Baghdasaryan <surenb@...gle.com>
Cc: kernel@...o.com
Subject: [PATCH 3/3] mm: multi-gen LRU: add per memcg "lru_gen" document
change multi-gen LRU document.
Signed-off-by: Huan Yang <link@...o.com>
---
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
Powered by blists - more mailing lists