[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250805162022.4920-6-bijan311@gmail.com>
Date: Tue, 5 Aug 2025 11:20:22 -0500
From: Bijan Tabatabai <bijan311@...il.com>
To: damon@...ts.linux.dev,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Cc: sj@...nel.org,
Andrew Morton <akpm@...ux-foundation.org>,
corbet@....net,
Bijan Tabatabai <bijantabatab@...ron.com>
Subject: [PATCH 5/5] Docs/admin-guide/mm/damon/usage: Document new DAMON commands
From: Bijan Tabatabai <bijantabatab@...ron.com>
Document the new commit_schemes_dests and wait_for_schemes_apply DAMON
commands.
Signed-off-by: Bijan Tabatabai <bijantabatab@...ron.com>
---
Documentation/admin-guide/mm/damon/usage.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst
index fc5c962353ed..46b6260855d9 100644
--- a/Documentation/admin-guide/mm/damon/usage.rst
+++ b/Documentation/admin-guide/mm/damon/usage.rst
@@ -142,6 +142,8 @@ Users can write below commands for the kdamond to the ``state`` file.
for more details.
- ``commit_schemes_quota_goals``: Read the DAMON-based operation schemes'
:ref:`quota goals <sysfs_schemes_quota_goals>`.
+- ``commit_schemes_dests``: Read the DAMON-based operation schemes'
+ :ref:`migration dests <damon_sysfs_dests>`.
- ``update_schemes_stats``: Update the contents of stats files for each
DAMON-based operation scheme of the kdamond. For details of the stats,
please refer to :ref:`stats section <sysfs_schemes_stats>`.
@@ -158,6 +160,8 @@ Users can write below commands for the kdamond to the ``state`` file.
- ``update_schemes_effective_quotas``: Update the contents of
``effective_bytes`` files for each DAMON-based operation scheme of the
kdamond. For more details, refer to :ref:`quotas directory <sysfs_quotas>`.
+- ``wait_for_schemes_apply``: Wait until the next time every scheme has been
+ applied.
If the state is ``on``, reading ``pid`` shows the pid of the kdamond thread.
--
2.43.5
Powered by blists - more mailing lists