Skip to content

Commit 14e70e4

Browse files
sjp38akpm00
authored andcommitted
Docs/admin-guide/mm/damon/usage: fix wrong schemes effective quota update command
To update effective size quota of DAMOS schemes on DAMON sysfs file interface, user should write 'update_schemes_effective_quotas' to the kdamond 'state' file. But the document is mistakenly saying the input string as 'update_schemes_effective_bytes'. Fix it (s/bytes/quotas/). Link: https://lkml.kernel.org/r/20240503180318.72798-8-sj@kernel.org Fixes: a6068d6 ("Docs/admin-guide/mm/damon/usage: document effective_bytes file") Signed-off-by: SeongJae Park <sj@kernel.org> Cc: <stable@vger.kernel.org> [6.9.x] Cc: Jonathan Corbet <corbet@lwn.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent da2a061 commit 14e70e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/admin-guide/mm/damon/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Users can write below commands for the kdamond to the ``state`` file.
153153
- ``clear_schemes_tried_regions``: Clear the DAMON-based operating scheme
154154
action tried regions directory for each DAMON-based operation scheme of the
155155
kdamond.
156-
- ``update_schemes_effective_bytes``: Update the contents of
156+
- ``update_schemes_effective_quotas``: Update the contents of
157157
``effective_bytes`` files for each DAMON-based operation scheme of the
158158
kdamond. For more details, refer to :ref:`quotas directory <sysfs_quotas>`.
159159

@@ -342,7 +342,7 @@ Based on the user-specified :ref:`goal <sysfs_schemes_quota_goals>`, the
342342
effective size quota is further adjusted. Reading ``effective_bytes`` returns
343343
the current effective size quota. The file is not updated in real time, so
344344
users should ask DAMON sysfs interface to update the content of the file for
345-
the stats by writing a special keyword, ``update_schemes_effective_bytes`` to
345+
the stats by writing a special keyword, ``update_schemes_effective_quotas`` to
346346
the relevant ``kdamonds/<N>/state`` file.
347347

348348
Under ``weights`` directory, three files (``sz_permil``,

0 commit comments

Comments
 (0)