summaryrefslogtreecommitdiff
path: root/Documentation/mm
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-06-16 19:17:40 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-06-19 16:19:36 -0700
commit01e08737daed0135c20c0844272a358d63a9cafe (patch)
tree42bf9c0b510735f14f52ab4b59121805c74d6c83 /Documentation/mm
parentddb7d012b1018c820848be051f84e962fd30dd78 (diff)
Docs/admin-guide/mm/damon/usage: link design document for DAMOS
The background and concept of DAMOS is redundantly documented, in the design document and the usage document. Replace the duplicated ones in usage document with links to the design document. Link: https://lkml.kernel.org/r/20230616191742.87531-6-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/mm')
-rw-r--r--Documentation/mm/damon/design.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst
index a98af99bb705..4bfdf1d30c4a 100644
--- a/Documentation/mm/damon/design.rst
+++ b/Documentation/mm/damon/design.rst
@@ -218,6 +218,8 @@ abstracted monitoring target memory area only for each of a user-specified time
interval (``update interval``).
+.. _damon_design_damos:
+
Operation Schemes
-----------------
@@ -255,6 +257,8 @@ the access pattern of interest, and applies the user-desired operation actions
to the regions as soon as found.
+.. _damon_design_damos_action:
+
Operation Action
~~~~~~~~~~~~~~~~
@@ -277,6 +281,8 @@ characteristics. Hence, DAMOS resets the age of regions when an action is
applied to those.
+.. _damon_design_damos_access_pattern:
+
Target Access Pattern
~~~~~~~~~~~~~~~~~~~~~
@@ -288,6 +294,8 @@ region's three properties are in the ranges, DAMOS classifies it as one of the
regions that the scheme is having an interest in.
+.. _damon_design_damos_quotas:
+
Quotas
~~~~~~
@@ -305,6 +313,8 @@ can use for applying the action, and/or a maximum bytes of memory regions that
the action can be applied within a user-specified time duration.
+.. _damon_design_damos_quotas_prioritization:
+
Prioritization
^^^^^^^^^^^^^^
@@ -330,6 +340,8 @@ the weight will be respected are up to the underlying prioritization mechanism
implementation.
+.. _damon_design_damos_watermarks:
+
Watermarks
~~~~~~~~~~
@@ -350,6 +362,8 @@ is also deactivated. In this case, the DAMON worker thread only periodically
checks the watermarks and therefore incurs nearly zero overhead.
+.. _damon_design_damos_filters:
+
Filters
~~~~~~~