diff options
author | SeongJae Park <sj@kernel.org> | 2022-10-24 17:46:18 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-30 15:58:41 -0800 |
commit | bd4149290c3edc09454a8a7e7ef3a5544cb9eed6 (patch) | |
tree | 91041df498c75af9216ceaafbcf2bafe0f2a8ac6 /Documentation/admin-guide/mm | |
parent | 1cc53a047b0b9389c2d8f4a69499c6135572f23e (diff) | |
download | linux-stable-bd4149290c3edc09454a8a7e7ef3a5544cb9eed6.tar.gz linux-stable-bd4149290c3edc09454a8a7e7ef3a5544cb9eed6.tar.bz2 linux-stable-bd4149290c3edc09454a8a7e7ef3a5544cb9eed6.zip |
Docs/admin-guide/mm/damon/usage: describe the rules of sysfs region directories
Patch series "Docs/admin-buide/mm/damon/usage: minor fixes".
DAMON usage document contains an unclear description and a wrong usage
example. This patchset fixes the two minor problems.
This patch (of 2):
Target region directories of DAMON sysfs interface should contain no
overlap and sorted by the address, but not clearly documented. Actually,
a user had an issue[1] due to the poor documentation. Add clear
description of it on the usage document.
[1] https://lore.kernel.org/damon/CAEZ6=UNUcH2BvJj++OrT=XQLdkidU79wmCO=tantSOB36pPNTg@mail.gmail.com/
Link: https://lkml.kernel.org/r/20221024174619.15600-1-sj@kernel.org
Link: https://lkml.kernel.org/r/20221024174619.15600-2-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Reported-by: Vinicius Petrucci <vpetrucci@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/admin-guide/mm')
-rw-r--r-- | Documentation/admin-guide/mm/damon/usage.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index b47b0cbbd491..89d9a4f75a29 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -235,6 +235,9 @@ In each region directory, you will find two files (``start`` and ``end``). You can set and get the start and end addresses of the initial monitoring target region by writing to and reading from the files, respectively. +Each region should not overlap with others. ``end`` of directory ``N`` should +be equal or smaller than ``start`` of directory ``N+1``. + contexts/<N>/schemes/ --------------------- |