Skip to content

Commit 2c6eccc

Browse files
sjp38hailmo-amzn
authored andcommitted
Docs/admin-guide/mm/damon/usage: fix typos in references and commas
Fix typos including a unnecessary comma and incomplete ':ref:' keywords. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Cc: Jonathan Corbet <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent e6d7e4c commit 2c6eccc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ scheme of the kdamond. Writing ``clear_schemes_tried_regions`` to ``state``
139139
file clears the DAMON-based operating scheme action tried regions directory for
140140
each DAMON-based operation scheme of the kdamond. For details of the
141141
DAMON-based operation scheme action tried regions directory, please refer to
142-
:ref:tried_regions section <sysfs_schemes_tried_regions>`.
142+
:ref:`tried_regions section <sysfs_schemes_tried_regions>`.
143143

144144
If the state is ``on``, reading ``pid`` shows the pid of the kdamond thread.
145145

@@ -282,7 +282,7 @@ memory regions having specific access pattern of the interest. The keywords
282282
that can be written to and read from the file and their meaning are as below.
283283

284284
Note that support of each action depends on the running DAMON operations set
285-
`implementation <sysfs_contexts>`.
285+
:ref:`implementation <sysfs_contexts>`.
286286

287287
- ``willneed``: Call ``madvise()`` for the region with ``MADV_WILLNEED``.
288288
Supported by ``vaddr`` and ``fvaddr`` operations set.
@@ -432,8 +432,7 @@ starting from ``0`` under this directory. Each directory contains files
432432
exposing detailed information about each of the memory region that the
433433
corresponding scheme's ``action`` has tried to be applied under this directory,
434434
during next :ref:`aggregation interval <sysfs_monitoring_attrs>`. The
435-
information includes address range, ``nr_accesses``, , and ``age`` of the
436-
region.
435+
information includes address range, ``nr_accesses``, and ``age`` of the region.
437436

438437
The directories will be removed when another special keyword,
439438
``clear_schemes_tried_regions``, is written to the relevant

0 commit comments

Comments
 (0)