Commit 033343d5 authored by SeongJae Park's avatar SeongJae Park Committed by Andrew Morton

Docs/admin-guide/mm/damon/usage: update for DAMOS apply intervals

Update DAMON usage document's DAMON sysfs interface section for the newly
added DAMOS apply intervals support (apply_interval_us file).

Link: https://lkml.kernel.org/r/20230916020945.47296-9-sj@kernel.orgSigned-off-by: default avatarSeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 65ded14e
...@@ -76,7 +76,7 @@ comma (","). :: ...@@ -76,7 +76,7 @@ comma (","). ::
│ │ │ │ │ │ │ │ ... │ │ │ │ │ │ │ │ ...
│ │ │ │ │ │ ... │ │ │ │ │ │ ...
│ │ │ │ │ schemes/nr_schemes │ │ │ │ │ schemes/nr_schemes
│ │ │ │ │ │ 0/action │ │ │ │ │ │ 0/action,apply_interval_us
│ │ │ │ │ │ │ access_pattern/ │ │ │ │ │ │ │ access_pattern/
│ │ │ │ │ │ │ │ sz/min,max │ │ │ │ │ │ │ │ sz/min,max
│ │ │ │ │ │ │ │ nr_accesses/min,max │ │ │ │ │ │ │ │ nr_accesses/min,max
...@@ -269,8 +269,8 @@ schemes/<N>/ ...@@ -269,8 +269,8 @@ schemes/<N>/
------------ ------------
In each scheme directory, five directories (``access_pattern``, ``quotas``, In each scheme directory, five directories (``access_pattern``, ``quotas``,
``watermarks``, ``filters``, ``stats``, and ``tried_regions``) and one file ``watermarks``, ``filters``, ``stats``, and ``tried_regions``) and two files
(``action``) exist. (``action`` and ``apply_interval``) exist.
The ``action`` file is for setting and getting the scheme's :ref:`action The ``action`` file is for setting and getting the scheme's :ref:`action
<damon_design_damos_action>`. The keywords that can be written to and read <damon_design_damos_action>`. The keywords that can be written to and read
...@@ -296,6 +296,9 @@ Note that support of each action depends on the running DAMON operations set ...@@ -296,6 +296,9 @@ Note that support of each action depends on the running DAMON operations set
- ``stat``: Do nothing but count the statistics. - ``stat``: Do nothing but count the statistics.
Supported by all operations sets. Supported by all operations sets.
The ``apply_interval_us`` file is for setting and getting the scheme's
:ref:`apply_interval <damon_design_damos>` in microseconds.
schemes/<N>/access_pattern/ schemes/<N>/access_pattern/
--------------------------- ---------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment