* [PATCH 0/8] Docs: damon: fix grammar and typos
@ 2026-10-26 11:14 Aveline Noir
2026-10-26 11:14 ` [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar Aveline Noir
` (7 more replies)
0 siblings, 8 replies; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
I was reading the DAMON docs and kept running into small grammar
mistakes and typos, so here is a series that tries to clean them up.
There is one patch per document, and nothing beyond grammar was
changed :)
Some fixes pushed lines over 80 columns, so those paragraphs are
rewrapped. Patch 4 picks up what I think was left in lru_sort.rst
after Manuel's recent fix.
Based on damon/next at 9d301805e3f6.
Thanks,
Aveline Noir
Aveline Noir (8):
Docs/admin-guide/mm/damon/start: fix grammar
Docs/admin-guide/mm/damon/stat: fix pronoun agreement
Docs/admin-guide/mm/damon/usage: fix grammar
Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar
Docs/mm/damon/design: fix grammar and typos
Docs/mm/damon/api: fix verb form
Docs/mm/damon/maintainer-profile: fix subject-verb agreement
Docs/mm/damon/monitoring_intervals_tuning_example: fix grammar and typos
.../admin-guide/mm/damon/lru_sort.rst | 45 ++++----
Documentation/admin-guide/mm/damon/start.rst | 10 +-
Documentation/admin-guide/mm/damon/stat.rst | 8 +-
Documentation/admin-guide/mm/damon/usage.rst | 31 ++---
Documentation/mm/damon/api.rst | 2 +-
Documentation/mm/damon/design.rst | 108 +++++++++---------
Documentation/mm/damon/maintainer-profile.rst | 2 +-
.../monitoring_intervals_tuning_example.rst | 28 ++---
8 files changed, 118 insertions(+), 116 deletions(-)
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 12:41 ` Manuel Ebner
2026-10-26 14:10 ` SJ Park
2026-10-26 11:14 ` [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement Aveline Noir
` (6 subsequent siblings)
7 siblings, 2 replies; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
Fix a few grammar slips in the getting-started guide, like "make DAMON
monitors" and a region "that has not accessed".
"The line of the commands" used to be "The first two lines". With only
one masim line left, I make it "The first line".
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
Documentation/admin-guide/mm/damon/start.rst | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/start.rst b/Documentation/admin-guide/mm/damon/start.rst
index d98b0eb8e771..a83fcc2265bd 100644
--- a/Documentation/admin-guide/mm/damon/start.rst
+++ b/Documentation/admin-guide/mm/damon/start.rst
@@ -63,7 +63,7 @@ the execution. ::
The first command of the above example downloads and builds an artificial
memory access generator program called ``masim``. The second command asks DAMO
-to start the program via the given command and make DAMON monitors the newly
+to start the program via the given command and make DAMON monitor the newly
started process. The third command retrieves the current snapshot of the
monitored access pattern of the process from DAMON and shows the pattern in a
human readable format.
@@ -71,7 +71,7 @@ human readable format.
The first line of the output shows the relative access temperature (hotness) of
the regions in a single row heatmap format. Each column on the heatmap
represents regions of same size on the monitored virtual address space. The
-position of the column on the row and the number on the column represents the
+position of the column on the row and the number on the column represent the
relative location and access temperature of the region. ``[...]`` means
unmapped huge regions on the virtual address spaces. The second line shows
additional information for better understanding the heatmap.
@@ -95,7 +95,7 @@ monitoring results to a file. ::
$ ./masim ./configs/zigzag.cfg &
$ sudo damo record -o damon.data $(pidof masim)
-The line of the commands run the artificial memory access
+The first line of the commands runs the artificial memory access
generator program again. The generator will repeatedly
access two 100 MiB sized memory regions one by one. You can substitute this
with your real workload. The last line asks ``damo`` to record the access
@@ -170,8 +170,8 @@ set size has chronologically changed.::
Data Access Pattern Aware Memory Management
===========================================
-Below command makes every memory region of size >=4K that has not accessed for
->=60 seconds in your workload to be swapped out. ::
+Below command makes every memory region of size >=4K that has not been accessed
+for >=60 seconds in your workload to be swapped out. ::
$ sudo damo start --damos_access_rate 0 0 --damos_sz_region 4K max \
--damos_age 60s max --damos_action pageout \
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
2026-10-26 11:14 ` [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 12:44 ` Manuel Ebner
2026-10-26 14:24 ` SJ Park
2026-10-26 11:14 ` [PATCH 3/8] Docs/admin-guide/mm/damon/usage: fix grammar Aveline Noir
` (5 subsequent siblings)
7 siblings, 2 replies; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
"converts it" refers to the access events, so I think it should be
"them". Rewrap the paragraph while at it.
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
Documentation/admin-guide/mm/damon/stat.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/stat.rst b/Documentation/admin-guide/mm/damon/stat.rst
index 4a9db755a526..a93609649a5f 100644
--- a/Documentation/admin-guide/mm/damon/stat.rst
+++ b/Documentation/admin-guide/mm/damon/stat.rst
@@ -68,10 +68,10 @@ estimated_memory_bandwidth
Estimated memory bandwidth consumption (bytes per second) of the system.
DAMON_STAT reads observed access events on the current DAMON results snapshot
-and converts it to memory bandwidth consumption estimation in bytes per second.
-The resulting metric is exposed to user via this read-only parameter. Because
-DAMON uses sampling, this is only an estimation of the access intensity rather
-than accurate memory bandwidth.
+and converts them to memory bandwidth consumption estimation in bytes per
+second. The resulting metric is exposed to user via this read-only parameter.
+Because DAMON uses sampling, this is only an estimation of the access intensity
+rather than accurate memory bandwidth.
memory_idle_ms_percentiles
--------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 3/8] Docs/admin-guide/mm/damon/usage: fix grammar
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
2026-10-26 11:14 ` [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar Aveline Noir
2026-10-26 11:14 ` [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 14:37 ` SJ Park
2026-10-26 11:14 ` [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar Aveline Noir
` (4 subsequent siblings)
7 siblings, 1 reply; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
Fix a handful of grammar mistakes in the usage doc, mostly
subject-verb agreement and a missing or extra "be". Also turn "Below
commands applies" into "The commands below apply", which I think reads
better. Rewrap where the lines got too long.
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
Documentation/admin-guide/mm/damon/usage.rst | 31 ++++++++++----------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst
index 3c4f3651a244..ffb487defa22 100644
--- a/Documentation/admin-guide/mm/damon/usage.rst
+++ b/Documentation/admin-guide/mm/damon/usage.rst
@@ -23,7 +23,7 @@ DAMON provides below interfaces for different users.
want more optimized use of DAMON. Using this, users can use DAMON’s major
features by reading from and writing to special sysfs files. Therefore,
you can write and use your personalized DAMON sysfs wrapper programs that
- reads/writes the sysfs files instead of you. The `DAMON user space tool
+ read/write the sysfs files instead of you. The `DAMON user space tool
<https://github.com/damonitor/damo>`_ is one example of such programs.
- *Kernel Space Programming Interface.*
:doc:`This </mm/damon/api>` is for kernel space programmers. Using this,
@@ -163,7 +163,7 @@ Users can write below commands for the kdamond to the ``state`` file.
- ``on``: Start running.
- ``off``: Stop running.
- ``commit``: Read the user inputs in the sysfs files except ``state`` file
- again. Monitoring :ref:`target region <sysfs_regions>` inputs are also be
+ again. Monitoring :ref:`target region <sysfs_regions>` inputs are also
ignored if no target region is specified.
- ``update_tuned_intervals``: Update the contents of ``sample_us`` and
``aggr_us`` files of the kdamond with the auto-tuning applied ``sampling
@@ -258,7 +258,7 @@ writing to and reading from the files.
Under ``nr_regions`` directory, two files for the lower-bound and upper-bound
of DAMON's monitoring regions (``min`` and ``max``, respectively), which
-controls the monitoring overhead, exist. You can set and get the values by
+control the monitoring overhead, exist. You can set and get the values by
writing to and reading from the files.
For more details about the intervals and monitoring regions range, please refer
@@ -310,7 +310,7 @@ Under the directory, four files for the auto-tuning control, namely
Please refer to the :ref:`design document of the feature
<damon_design_monitoring_intervals_autotuning>` for the internal of the tuning
mechanism. Reading and writing the four files under ``intervals_goal``
-directory shows and updates the tuning parameters that described in the
+directory shows and updates the tuning parameters that are described in the
:ref:`design doc <damon_design_monitoring_intervals_autotuning>` with the same
names. The tuning starts with the user-set ``sample_us`` and ``aggr_us``. The
tuning-applied current values of the two intervals can be read from the
@@ -538,8 +538,8 @@ Among the multiple feedback, the best one is used.
Each goal directory contains six files, namely ``target_metric``,
``complement``, ``target_value``, ``current_value``, ``nid``, and ``path``.
Users can set and get the six parameters for the quota auto-tuning goals that
-specified on the :ref:`design doc <damon_design_damos_quotas_auto_tuning>` by
-writing to and reading from each of the files. Because the kernel does not
+are specified on the :ref:`design doc <damon_design_damos_quotas_auto_tuning>`
+by writing to and reading from each of the files. Because the kernel does not
update ``current_value``, reading it only makes sense when ``target_metric`` is
``user_input``. Note that users should further write
``commit_schemes_quota_goals`` to the ``state`` file of the :ref:`kdamond
@@ -577,8 +577,9 @@ DAMON-based operation scheme.
``core_filters`` and ``ops_filters`` directories are for the filters handled by
the DAMON core layer and operations set layer, respectively. ``filters``
directory can be used for installing filters regardless of their handled
-layers. Filters that requested by ``core_filters`` and ``ops_filters`` will be
-installed before those of ``filters``. All three directories have same files.
+layers. Filters that are requested by ``core_filters`` and ``ops_filters`` will
+be installed before those of ``filters``. All three directories have same
+files.
Use of ``filters`` directory can make filters evaluation orders confusing to
expect. For this reason, ``filters`` directory is deprecated. It is still
@@ -654,16 +655,16 @@ Users can write and read the identifier of the destination to ``id`` file.
For ``DAMOS_MIGRATE_{HOT,COLD}`` actions, the migrate destination node's node
id should be written to ``id`` file. Users can write and read the weight of
the destination among the given destinations to the ``weight`` file. The
-weight can be an arbitrary integer. When DAMOS apply the action to each entity
-of the memory region, it will select the destination of the action based on the
-relative weights of the destinations.
+weight can be an arbitrary integer. When DAMOS applies the action to each
+entity of the memory region, it will select the destination of the action based
+on the relative weights of the destinations.
.. _sysfs_schemes_stats:
schemes/<N>/stats/
------------------
-DAMON counts statistics for each scheme. This statistics can be used for
+DAMON counts statistics for each scheme. These statistics can be used for
online analysis or tuning of the schemes. Refer to :ref:`design doc
<damon_design_damos_stat>` for more details about the stats.
@@ -722,15 +723,15 @@ tried_regions/<N>/probes/
-------------------------
In each region directory, one directory (``probes``) also exists. In the
-directory, subdirectories named ``0`` to ``N-1`` exists. ``N`` is the number
-of installed probes. In each number-named directory, a file (``hits``) exist.
+directory, subdirectories named ``0`` to ``N-1`` exist. ``N`` is the number
+of installed probes. In each number-named directory, a file (``hits``) exists.
Reading the file shows the number of data attributes monitoring probe-hit
positive samples of the region.
Example
~~~~~~~
-Below commands applies a scheme saying "If a memory region of size in [4KiB,
+The commands below apply a scheme saying "If a memory region of size in [4KiB,
8KiB] is showing accesses per aggregate interval in [0, 5] for aggregate
interval in [10, 20], page out the region. For the paging out, use only up to
10ms per second, and also don't page out more than 1GiB per second. Under the
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
` (2 preceding siblings ...)
2026-10-26 11:14 ` [PATCH 3/8] Docs/admin-guide/mm/damon/usage: fix grammar Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 12:57 ` Manuel Ebner
2026-10-26 14:42 ` SJ Park
2026-10-26 11:14 ` [PATCH 5/8] Docs/mm/damon/design: fix grammar and typos Aveline Noir
` (3 subsequent siblings)
7 siblings, 2 replies; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
Manuel's recent grammar fix for this file, now in damon/next, covered a
good part of it. This should take care of the few mistakes that are
left, like "should automatically activated" and "Make DAMON_LRU_SORT
reads". Rewrap where the lines got too long.
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
.../admin-guide/mm/damon/lru_sort.rst | 45 ++++++++++---------
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentation/admin-guide/mm/damon/lru_sort.rst
index aa4cc90ca57c..c628e3f6e587 100644
--- a/Documentation/admin-guide/mm/damon/lru_sort.rst
+++ b/Documentation/admin-guide/mm/damon/lru_sort.rst
@@ -35,7 +35,7 @@ deprioritizing cold pages on their LRU-lists. To avoid it consuming too much
CPU for the prioritizations, a CPU time usage limit can be configured. Under
the limit, it prioritizes and deprioritizes more hot and cold pages first,
respectively. System administrators can also configure under what situation
-this scheme should automatically activated and deactivated with three memory
+this scheme should be automatically activated and deactivated with three memory
pressure watermarks.
Its default parameters for hotness/coldness thresholds and CPU quota limit are
@@ -55,7 +55,7 @@ DAMON_LRU_SORT utilizes module parameters. That is, you can put
``damon_lru_sort.<parameter>=<value>`` on the kernel boot command line or write
proper values to ``/sys/module/damon_lru_sort/parameters/<parameter>`` files.
-Below are the description of each parameter.
+Below is the description of each parameter.
enabled
-------
@@ -70,12 +70,12 @@ condition. Refer to below descriptions of the watermarks parameter for this.
commit_inputs
-------------
-Make DAMON_LRU_SORT reads the input parameters again, except ``enabled``.
+Make DAMON_LRU_SORT read the input parameters again, except ``enabled``.
-Input parameters that updated while DAMON_LRU_SORT is running are not applied
-by default. Once this parameter is set to ``Y``, DAMON_LRU_SORT reads values
-of parameters except ``enabled`` again. Once the re-reading is done, this
-parameter is set to ``N``. If invalid parameters are found while the
+Input parameters that are updated while DAMON_LRU_SORT is running are not
+applied by default. Once this parameter is set to ``Y``, DAMON_LRU_SORT reads
+values of parameters except ``enabled`` again. Once the re-reading is done,
+this parameter is set to ``N``. If invalid parameters are found while the
re-reading, DAMON_LRU_SORT will be disabled.
Once ``Y`` is written to this parameter, the user must not write to any
@@ -87,10 +87,11 @@ active_mem_bp
Desired active to (in)active memory ratio in bp (1/10,000).
-While keeping the caps that set by other quotas, DAMON_LRU_SORT automatically
-increases and decreases the effective level of the quota aiming the LRU
-(de)prioritizations of the hot and cold memory resulting in this active to
-(in)active memory ratio. Value zero means disabling this auto-tuning feature.
+While keeping the caps that are set by other quotas, DAMON_LRU_SORT
+automatically increases and decreases the effective level of the quota aiming
+the LRU (de)prioritizations of the hot and cold memory resulting in this active
+to (in)active memory ratio. Value zero means disabling this auto-tuning
+feature.
Disabled by default.
@@ -112,8 +113,8 @@ Filter (non-)young pages accordingly for LRU (de)prioritizations.
If this is set, check page level access (youngness) once again before each
LRU (de)prioritization operation. LRU prioritization operation is skipped
-if the page has not accessed since the last check (not young). LRU
-deprioritization operation is skipped if the page has accessed since the
+if the page has not been accessed since the last check (not young). LRU
+deprioritization operation is skipped if the page has been accessed since the
last check (young). The feature is enabled or disabled if this parameter is
set to ``Y`` or ``N``, respectively.
@@ -125,7 +126,7 @@ hot_thres_access_freq
Access frequency threshold for hot memory regions identification in permil.
If a memory region is accessed in frequency of this or higher, DAMON_LRU_SORT
-identifies the region as hot, and mark it as accessed on the LRU list, so that
+identifies the region as hot, and marks it as accessed on the LRU list, so that
it could not be reclaimed under memory pressure. 50% by default.
cold_min_age
@@ -134,7 +135,7 @@ cold_min_age
Time threshold for cold memory regions identification in microseconds.
If a memory region is not accessed for this or longer time, DAMON_LRU_SORT
-identifies the region as cold, and mark it as unaccessed on the LRU list, so
+identifies the region as cold, and marks it as unaccessed on the LRU list, so
that it could be reclaimed first under memory pressure. 120 seconds by
default.
@@ -237,7 +238,7 @@ The maximum number of monitoring regions of DAMON for the cold memory
monitoring. This can be used to set the upper-bound of the monitoring overhead.
However, setting this too low could result in bad monitoring quality. Please
refer to the DAMON documentation (:doc:`usage`) for more detail. 1000 by
-defaults.
+default.
monitor_region_start
--------------------
@@ -310,7 +311,7 @@ Total bytes of hot memory regions that were successfully LRU-sorted.
nr_hot_quota_exceeds
--------------------
-Number of times that the time quota limit for hot regions have exceeded.
+Number of times that the time quota limit for hot regions has been exceeded.
nr_lru_sort_tried_cold_regions
------------------------------
@@ -325,24 +326,24 @@ Total bytes of cold memory regions that tried to be LRU-sorted.
nr_lru_sorted_cold_regions
--------------------------
-Number of cold memory regions that successfully be LRU-sorted.
+Number of cold memory regions that were successfully LRU-sorted.
bytes_lru_sorted_cold_regions
-----------------------------
-Total bytes of cold memory regions that successfully be LRU-sorted.
+Total bytes of cold memory regions that were successfully LRU-sorted.
nr_cold_quota_exceeds
---------------------
-Number of times that the time quota limit for cold regions have exceeded.
+Number of times that the time quota limit for cold regions has been exceeded.
Example
=======
-Below runtime example commands make DAMON_LRU_SORT to find memory regions
+Below runtime example commands make DAMON_LRU_SORT find memory regions
having >=50% access frequency and LRU-prioritize while LRU-deprioritizing
-memory regions that not accessed for 120 seconds. The prioritization and
+memory regions that are not accessed for 120 seconds. The prioritization and
deprioritization is limited to be done using only up to 1% CPU time to avoid
DAMON_LRU_SORT consuming too much CPU time for the (de)prioritization. It also
asks DAMON_LRU_SORT to do nothing if the system's free memory rate is more than
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 5/8] Docs/mm/damon/design: fix grammar and typos
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
` (3 preceding siblings ...)
2026-10-26 11:14 ` [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 14:54 ` SJ Park
2026-10-26 11:14 ` [PATCH 6/8] Docs/mm/damon/api: fix verb form Aveline Noir
` (2 subsequent siblings)
7 siblings, 1 reply; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
The design doc has quite a few relative clauses that seem to have lost
their verb, like "pages that assumed to have" or "filters that handled
by the core layer". Fix those, along with some agreement issues and a
couple of typos: "Parreto", and "Use space", which I think should be
"User space". Rewrap where the lines got too long.
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
Documentation/mm/damon/design.rst | 108 +++++++++++++++---------------
1 file changed, 54 insertions(+), 54 deletions(-)
diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst
index 1e699e3f8a49..4e3c27382b5e 100644
--- a/Documentation/mm/damon/design.rst
+++ b/Documentation/mm/damon/design.rst
@@ -35,13 +35,13 @@ Overall Architecture
DAMON subsystem is configured with three layers including
- :ref:`Operations Set <damon_operations_set>`: Implements fundamental
- operations for DAMON that depends on the given monitoring target
+ operations for DAMON that depend on the given monitoring target
address-space and available set of software/hardware primitives,
- :ref:`Core <damon_core_logic>`: Implements core logics including monitoring
overhead/accuracy control and access-aware system operations on top of the
operations set layer, and
- :ref:`Modules <damon_modules>`: Implements kernel modules for various
- purposes that provides interfaces for the user space, on top of the core
+ purposes that provide interfaces for the user space, on top of the core
layer.
@@ -137,8 +137,8 @@ finding the relevant PTE Accessed bit(s) from the address. While the
implementation for the virtual address walks the page table for the target task
of the address, the implementation for the physical address walks every page
table having a mapping to the address. In this way, the implementations find
-and clear the bit(s) for next sampling target address and checks whether the
-bit(s) set again after one sampling period. This could disturb other kernel
+and clear the bit(s) for next sampling target address and check whether the
+bit(s) are set again after one sampling period. This could disturb other kernel
subsystems using the Accessed bits, namely Idle page tracking and the reclaim
logic. DAMON does nothing to avoid disturbing Idle page tracking, so handling
the interference is the responsibility of sysadmins. However, it solves the
@@ -177,7 +177,7 @@ ranges. In some cases, the address space for a given operations set could be
too large to be handled with the type. ARM (32-bit) with large physical
address extension is an example. For such cases, a per-operations set
parameter called ``address unit`` is provided. It represents the scale factor
-that need to be multiplied to the core layer's address for calculating real
+that needs to be multiplied to the core layer's address for calculating real
address on the given address space. Support of ``address unit`` parameter is
up to each operations set implementation. ``paddr`` is the only operations set
implementation that supports the parameter.
@@ -219,9 +219,9 @@ duration. The resolution of the access frequency is controlled by setting
``sampling interval`` and ``aggregation interval``. In detail, DAMON checks
access to each page per ``sampling interval`` and aggregates the results. In
other words, counts the number of the accesses to each page. After each
-``aggregation interval`` passes, DAMON calls callback functions that previously
-registered by users so that users can read the aggregated results and then
-clears the results. This can be described in below simple pseudo-code::
+``aggregation interval`` passes, DAMON calls callback functions that were
+previously registered by users so that users can read the aggregated results and
+then clears the results. This can be described in below simple pseudo-code::
while monitoring_on:
for page in monitoring_target:
@@ -244,11 +244,11 @@ Region Based Sampling
~~~~~~~~~~~~~~~~~~~~~
To avoid the unbounded increase of the overhead, DAMON groups adjacent pages
-that assumed to have the same access frequencies into a region. As long as the
-assumption (pages in a region have the same access frequencies) is kept, only
-one page in the region is required to be checked. Thus, for each ``sampling
-interval``, DAMON randomly picks one page in each region, waits for one
-``sampling interval``, checks whether the page is accessed meanwhile, and
+that are assumed to have the same access frequencies into a region. As long as
+the assumption (pages in a region have the same access frequencies) is kept,
+only one page in the region is required to be checked. Thus, for each
+``sampling interval``, DAMON randomly picks one page in each region, waits for
+one ``sampling interval``, checks whether the page is accessed meanwhile, and
increases the access frequency counter of the region if so. The counter is
called ``nr_accesses`` of the region. Therefore, the monitoring overhead is
controllable by setting the number of regions. DAMON allows users to set the
@@ -367,7 +367,7 @@ attributes monitoring feature is provided.
Using the feature, users can register data attributes of their interest to the
DAMON :ref:`context <damon_design_execution_model_and_data_structures>`. The
-registration is made by specifying a probe per attribute. Each of the probe
+registration is made by specifying a probe per attribute. Each of the probes
specifies a rule to determine if a given memory region has the related
attribute. The rule is constructed with multiple filters. The filters work
same to :ref:`DAMOS filters <damon_design_damos_filters>` except the supported
@@ -383,12 +383,12 @@ filter types. Currently below filter types are supported.
If such probes are registered, DAMON executes the probes for each region's
sampling memory when it does the access :ref:`sampling
-<damon_design_region_based_sampling>`. The number of samples that identified
-as having the data attribute (hitting the probe) per :ref:`aggregation interval
-<damon_design_monitoring>` is accounted in a per-region per-probe counter.
-Users can therefore know how much of a given DAMON region has a specific data
-attribute by reading the per-region per-probe probe hits counter after each
-aggregation interval.
+<damon_design_region_based_sampling>`. The number of samples that are
+identified as having the data attribute (hitting the probe) per
+:ref:`aggregation interval <damon_design_monitoring>` is accounted in a
+per-region per-probe counter. Users can therefore know how much of a given
+DAMON region has a specific data attribute by reading the per-region per-probe
+probe hits counter after each aggregation interval.
Users can optionally register probing preparation actions per probe. If such
actions are registered, DAMON applies the actions to each region's sampling
@@ -480,7 +480,7 @@ given memory region.
Dynamic Target Space Updates Handling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The monitoring target address range could dynamically changed. For example,
+The monitoring target address range could be dynamically changed. For example,
virtual memory could be dynamically mapped and unmapped. Physical memory could
be hot-plugged.
@@ -518,8 +518,8 @@ to converge regions with the :ref:`regions adjustment mechanism
time scale of the given purpose. This could happen if the workload is actually
making only rare accesses but the user thinks the amount of accesses for the
monitoring purpose too high. For such cases, the target amount of access to
-capture per ``aggregation interval`` should carefully reconsidered. Also, note
-that the captured amount of accesses is represented with not only
+capture per ``aggregation interval`` should be carefully reconsidered. Also,
+note that the captured amount of accesses is represented with not only
``nr_accesses``, but also ``age``. For example, even if every region on the
monitoring results show zero ``nr_accesses``, regions could still be
distinguished using ``age`` values as the recency information.
@@ -566,7 +566,7 @@ interval`` based on the :ref:`the tuning guide idea
users to set the aimed amount of access events to observe via DAMON within
given time interval. The target can be specified by the user as a ratio of
DAMON-observed access events to the theoretical maximum amount of the events
-(``access_bp``) that measured within a given number of aggregations
+(``access_bp``) that is measured within a given number of aggregations
(``aggrs``). The ratio is in basis point (bp or 1/10,000).
The DAMON-observed access events are calculated in byte granularity based on
@@ -578,7 +578,7 @@ with theoretical maximum ``nr_accesses``, which can be calculated as
``aggregation interval / sampling interval``.
The mechanism calculates the ratio of access events for ``aggrs`` aggregations,
-and increases or decrease the ``sampling interval`` and ``aggregation
+and increases or decreases the ``sampling interval`` and ``aggregation
interval`` in same ratio, if the observed access ratio is lower or higher than
the target, respectively. The ratio of the intervals change is decided in
proportion to the distance between current samples ratio and the target ratio.
@@ -587,12 +587,12 @@ The user can further set the minimum and maximum ``sampling interval`` that can
be set by the tuning mechanism using two parameters (``min_sample_us`` and
``max_sample_us``). Because the tuning mechanism changes ``sampling interval``
and ``aggregation interval`` in same ratio always, the minimum and maximum
-``aggregation interval`` after each of the tuning changes can automatically set
-together.
+``aggregation interval`` after each of the tuning changes can be automatically
+set together.
-The tuning is turned off by default, and need to be set explicitly by the user.
-As a rule of thumbs and the Parreto principle, 4% access samples ratio target
-is recommended. Note that Parreto principle (80/20 rule) has applied twice.
+The tuning is turned off by default, and needs to be set explicitly by the user.
+As a rule of thumb and the Pareto principle, 4% access samples ratio target
+is recommended. Note that Pareto principle (80/20 rule) has been applied twice.
That is, assumes 4% (20% of 20%) DAMON-observed access events ratio (source)
to capture 64% (80% multiplied by 80%) real access events (outcomes).
@@ -831,14 +831,14 @@ auto-tuning mechanism tries to make ``current_value`` of ``complement``-ed
``target_metric`` be same to ``target_value``.
- ``user_input``: User-provided value. Users could use any metric that they
- has interest in for the value. Use space main workload's latency or
+ have interest in for the value. User space main workload's latency or
throughput, system metrics like free memory ratio or memory pressure stall
time (PSI) could be examples. Note that users should explicitly set
``current_value`` on their own in this case. In other words, users should
repeatedly provide the feedback.
- ``some_mem_psi_us``: System-wide ``some`` memory pressure stall information
- in microseconds that measured from last quota reset to next quota reset.
- DAMOS does the measurement on its own, so only ``target_value`` need to be
+ in microseconds that is measured from last quota reset to next quota reset.
+ DAMOS does the measurement on its own, so only ``target_value`` needs to be
set by users at the initial time. In other words, DAMOS does self-feedback.
- ``node_mem_used_bp``: Specific NUMA node's used memory ratio in basis point
(bp or 1/10,000).
@@ -927,16 +927,16 @@ number of filters for each scheme. Each filter specifies
For efficient handling of filters, some types of filters are handled by the
core layer, while others are handled by operations set. In the latter case,
hence, support of the filter types depends on the DAMON operations set. In
-case of the core layer-handled filters, the memory regions that excluded by the
-filter are not counted as the scheme has tried to the region. In contrast, if
-a memory regions is filtered by an operations set layer-handled filter, it is
+case of the core layer-handled filters, the memory regions that are excluded by
+the filter are not counted as the scheme has tried to the region. In contrast,
+if a memory region is filtered by an operations set layer-handled filter, it is
counted as the scheme has tried. This difference affects the statistics.
-When multiple filters are installed, the group of filters that handled by the
-core layer are evaluated first. After that, the group of filters that handled
-by the operations layer are evaluated. Filters in each of the groups are
+When multiple filters are installed, the group of filters that are handled by
+the core layer is evaluated first. After that, the group of filters that are
+handled by the operations layer is evaluated. Filters in each of the groups are
evaluated in the installed order. If a part of memory is matched to one of the
-filter, next filters are ignored. If the part passes through the filters
+filters, next filters are ignored. If the part passes through the filters
evaluation stage because it is not matched to any of the filters, applying the
scheme's action to it depends on the last filter's allowance type. If the last
filter was for allowing, the part of memory will be rejected, and vice versa.
@@ -955,26 +955,26 @@ Below ``type`` of filters are currently supported.
- Core layer handled
- addr
- - Applied to pages that belonging to a given address range.
+ - Applied to pages that belong to a given address range.
- target
- - Applied to pages that belonging to a given DAMON monitoring target.
+ - Applied to pages that belong to a given DAMON monitoring target.
- probe_hits_wsum
- Matches to monitoring regions having a given range of :ref:`probe
hits weighted sum <damon_design_attrs_only_monitoring>` value.
- Operations layer handled, supported by only ``paddr`` operations set.
- anon
- - Applied to pages that containing data that not stored in files.
+ - Applied to pages that contain data that are not stored in files.
- active
- Applied to active pages.
- memcg
- - Applied to pages that belonging to a given cgroup.
+ - Applied to pages that belong to a given cgroup.
- young
- Applied to pages that are accessed after the last access check from the
scheme.
- hugepage_size
- - Applied to pages that managed in a given size range.
+ - Applied to pages that are managed in a given size range.
- unmapped
- - Applied to pages that unmapped.
+ - Applied to pages that are unmapped.
To know how user-space can set the filters via :ref:`DAMON sysfs interface
<sysfs_interface>`, refer to :ref:`filters <sysfs_filters>` part of the
@@ -1008,14 +1008,14 @@ the region is eligible to apply the scheme's :ref:`action
<damon_design_damos_access_pattern>`, :ref:`quotas
<damon_design_damos_quotas>`, :ref:`watermarks
<damon_design_damos_watermarks>`, and :ref:`filters
-<damon_design_damos_filters>` that handled on core logic could affect this.
+<damon_design_damos_filters>` that are handled on core logic could affect this.
The core logic will only ask the underlying :ref:`operation set
-<damon_operations_set>` to do apply the action to the region, so whether the
+<damon_operations_set>` to apply the action to the region, so whether the
action is really applied or not is unclear. That's why it is called "tried".
"A scheme is applied to a region" means the :ref:`operation set
<damon_operations_set>` has applied the action to at least a part of the
-region. The :ref:`filters <damon_design_damos_filters>` that handled by the
+region. The :ref:`filters <damon_design_damos_filters>` that are handled by the
operation set, and the types of the :ref:`action <damon_design_damos_action>`
and the pages of the region can affect this. For example, if a filter is set
to exclude anonymous pages and the region has only anonymous pages, or if the
@@ -1034,12 +1034,12 @@ documentation.
Regions Walking
~~~~~~~~~~~~~~~
-DAMOS feature allowing users access each region that a DAMOS action has just
+DAMOS feature allowing users to access each region that a DAMOS action has just
applied. Using this feature, DAMON :ref:`API <damon_design_api>` allows users
-access full properties of the regions including the access monitoring results
+to access full properties of the regions including the access monitoring results
and amount of the region's internal memory that passed the DAMOS filters.
-:ref:`DAMON sysfs interface <sysfs_interface>` also allows users read the data
-via special :ref:`files <sysfs_schemes_tried_regions>`.
+:ref:`DAMON sysfs interface <sysfs_interface>` also allows users to read the
+data via special :ref:`files <sysfs_schemes_tried_regions>`.
.. _damon_design_api:
@@ -1124,7 +1124,7 @@ is already running, others will return ``-EBUSY`` upon start requests.
Sample DAMON Modules
--------------------
-DAMON modules that provides example DAMON kernel API usages.
+DAMON modules that provide example DAMON kernel API usages.
kernel programmers can build their own special or general purpose DAMON modules
using DAMON kernel API. To help them easily understand how DAMON kernel API
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 6/8] Docs/mm/damon/api: fix verb form
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
` (4 preceding siblings ...)
2026-10-26 11:14 ` [PATCH 5/8] Docs/mm/damon/design: fix grammar and typos Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 14:55 ` SJ Park
2026-10-26 11:14 ` [PATCH 7/8] Docs/mm/damon/maintainer-profile: fix subject-verb agreement Aveline Noir
2026-10-26 11:14 ` [PATCH 8/8] Docs/mm/damon/monitoring_intervals_tuning_example: fix grammar and typos Aveline Noir
7 siblings, 1 reply; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
It should be "All you need to do is include", not "including".
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
Documentation/mm/damon/api.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/mm/damon/api.rst b/Documentation/mm/damon/api.rst
index 08f34df45523..1f330429b486 100644
--- a/Documentation/mm/damon/api.rst
+++ b/Documentation/mm/damon/api.rst
@@ -5,7 +5,7 @@ API Reference
=============
Kernel space programs can use every feature of DAMON using below APIs. All you
-need to do is including ``damon.h``, which is located in ``include/linux/`` of
+need to do is include ``damon.h``, which is located in ``include/linux/`` of
the source tree.
Structures
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 7/8] Docs/mm/damon/maintainer-profile: fix subject-verb agreement
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
` (5 preceding siblings ...)
2026-10-26 11:14 ` [PATCH 6/8] Docs/mm/damon/api: fix verb form Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 14:56 ` SJ Park
2026-10-26 11:14 ` [PATCH 8/8] Docs/mm/damon/monitoring_intervals_tuning_example: fix grammar and typos Aveline Noir
7 siblings, 1 reply; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
"The DAMON maintainer usually work" should be "works".
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
Documentation/mm/damon/maintainer-profile.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/mm/damon/maintainer-profile.rst b/Documentation/mm/damon/maintainer-profile.rst
index a7c135233937..c48269032024 100644
--- a/Documentation/mm/damon/maintainer-profile.rst
+++ b/Documentation/mm/damon/maintainer-profile.rst
@@ -63,7 +63,7 @@ management subsystem maintainer.
Review cadence
--------------
-The DAMON maintainer usually work in a flexible way, except early morning in PT
+The DAMON maintainer usually works in a flexible way, except early morning in PT
(Pacific Time). The response to patches will occasionally be slow. Do not
hesitate to send a ping if you have not heard back within a week of sending a
patch.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 8/8] Docs/mm/damon/monitoring_intervals_tuning_example: fix grammar and typos
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
` (6 preceding siblings ...)
2026-10-26 11:14 ` [PATCH 7/8] Docs/mm/damon/maintainer-profile: fix subject-verb agreement Aveline Noir
@ 2026-10-26 11:14 ` Aveline Noir
2026-10-26 14:59 ` SJ Park
7 siblings, 1 reply; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 11:14 UTC (permalink / raw)
To: SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner, damon,
linux-mm, linux-doc, linux-kernel
Fix a few typos, including "Moniting" in the title, and some grammar in
the interval tuning example.
"starts looking degrading" should be "start looking degraded for", as I
think the sentence means the cold region detection starts to look worse.
Rewrap where the lines got too long.
Signed-off-by: Aveline Noir <jm5905938@gmail.com>
---
.../monitoring_intervals_tuning_example.rst | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/Documentation/mm/damon/monitoring_intervals_tuning_example.rst b/Documentation/mm/damon/monitoring_intervals_tuning_example.rst
index 7207cbed591f..367b031ce55a 100644
--- a/Documentation/mm/damon/monitoring_intervals_tuning_example.rst
+++ b/Documentation/mm/damon/monitoring_intervals_tuning_example.rst
@@ -1,8 +1,8 @@
.. SPDX-License-Identifier: GPL-2.0
-=================================================
-DAMON Moniting Interval Parameters Tuning Example
-=================================================
+===================================================
+DAMON Monitoring Interval Parameters Tuning Example
+===================================================
DAMON's monitoring parameters need tuning based on given workload and the
monitoring purpose. There is a :ref:`tuning guide
@@ -38,7 +38,7 @@ access-hotness of a region. It is calculated as a weighted sum of the access
frequency and the age of the region. If the access frequency is 0 %, the
temperature is multiplied by minus one. That is, if a region is not accessed,
it gets minus temperature and it gets lower as not accessed for longer time.
-The sorting is in temperature-ascendint order, so the region at the top of the
+The sorting is in temperature-ascending order, so the region at the top of the
list is the coldest, and the one at the bottom is the hottest one. ::
# damo report access --sort_regions_by temperature
@@ -56,7 +56,7 @@ list is the coldest, and the one at the bottom is the hottest one. ::
total size: 62.000 GiB
The list shows not seemingly hot regions, and only minimum access pattern
-diversity. Every region has zero access frequency. The number of region is
+diversity. Every region has zero access frequency. The number of regions is
10, which is the default ``min_nr_regions value``. Size of each region is also
nearly identical. We can suspect this is because “adaptive regions adjustment”
mechanism was not well working. As the guide suggested, we can get relative
@@ -91,7 +91,7 @@ aggregation interval.
100ms/2s intervals: Starts Showing Small Hot Regions
====================================================
-Following the guide, increase the interval 20 times (100 milliseocnds and 2
+Following the guide, increase the interval 20 times (100 milliseconds and 2
seconds for sampling and aggregation intervals, respectively). ::
# damo start -s 100ms -a 2s
@@ -129,17 +129,17 @@ seconds for sampling and aggregation intervals, respectively). ::
[50,400,010,000, 59,720,011,000) 4.000 KiB |* |
total size: 62.000 GiB
-DAMON found two distinct 4 KiB regions that pretty hot. The regions are also
-well aged. The hottest 4 KiB region was keeping the access frequency for about
-8 minutes, and the coldest region was keeping no access for about 7 minutes.
-The distribution on the histogram also looks like having a pattern.
+DAMON found two distinct 4 KiB regions that are pretty hot. The regions are
+also well aged. The hottest 4 KiB region was keeping the access frequency for
+about 8 minutes, and the coldest region was keeping no access for about 7
+minutes. The distribution on the histogram also looks like having a pattern.
Especially, the finding of the 4 KiB regions among the 62 GiB total memory
shows DAMON’s adaptive regions adjustment is working as designed.
Still the number of regions is close to the ``min_nr_regions``, and sizes of
cold regions are similar, though. Apparently it is improved, but it still has
-rooms to improve.
+room to improve.
400ms/8s intervals: Pretty Improved Results
===========================================
@@ -196,8 +196,8 @@ good enough to make some meaningful memory management efficiency changes.
=================================
Further double the intervals (800 milliseconds and 16 seconds for sampling
-and aggregation intervals, respectively). The results is more improved for the
-hot regions detection, but starts looking degrading cold regions detection. ::
+and aggregation intervals, respectively). The results are more improved for the
+hot regions detection, but start looking degraded for cold regions detection. ::
# damo start -s 800ms -a 16s
# sleep 600
@@ -243,5 +243,5 @@ Conclusion
==========
With the above experimental tuning results, we can conclude the theory and the
-guide makes sense to at least this workload, and could be applied to similar
+guide make sense to at least this workload, and could be applied to similar
cases.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar
2026-10-26 11:14 ` [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar Aveline Noir
@ 2026-10-26 12:41 ` Manuel Ebner
2026-10-26 14:29 ` SJ Park
2026-10-26 14:10 ` SJ Park
1 sibling, 1 reply; 26+ messages in thread
From: Manuel Ebner @ 2026-10-26 12:41 UTC (permalink / raw)
To: Aveline Noir, SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, damon, linux-mm,
linux-doc, linux-kernel
On Mon, 2026-10-26 at 22:14 +1100, Aveline Noir wrote:
> Fix a few grammar slips in the getting-started guide, like "make DAMON
> monitors" and a region "that has not accessed".
>
> "The line of the commands" used to be "The first two lines". With only
> one masim line left, I make it "The first line".
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
> ---
> Documentation/admin-guide/mm/damon/start.rst | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/admin-guide/mm/damon/start.rst b/Documentation/admin-guide/mm/damon/start.rst
> index d98b0eb8e771..a83fcc2265bd 100644
> --- a/Documentation/admin-guide/mm/damon/start.rst
> +++ b/Documentation/admin-guide/mm/damon/start.rst
> @@ -63,7 +63,7 @@ the execution. ::
>
> The first command of the above example downloads and builds an artificial
> memory access generator program called ``masim``. The second command asks DAMO
> -to start the program via the given command and make DAMON monitors the newly
> +to start the program via the given command and make DAMON monitor the newly
'The second command asks ... and makes ...' Thus:
+to start the program via the given command and makes DAMON monitor the newly
> started process. The third command retrieves the current snapshot of the
> monitored access pattern of the process from DAMON and shows the pattern in a
> human readable format.
> @@ -71,7 +71,7 @@ human readable format.
> The first line of the output shows the relative access temperature (hotness) of
> the regions in a single row heatmap format. Each column on the heatmap
> represents regions of same size on the monitored virtual address space. The
> -position of the column on the row and the number on the column represents the
> +position of the column on the row and the number on the column represent the
> relative location and access temperature of the region. ``[...]`` means
> unmapped huge regions on the virtual address spaces. The second line shows
> additional information for better understanding the heatmap.
I have read the damon directory aswell but I didn't find enought to send a patch yet.
But I found this, could you add it to your patch?
@@ -78,8 +78,8 @@ additional information for better understanding the heatmap.
Each line of the output from the third line shows which virtual address range
(``addr XX size XX``) of the process is how frequently (``access XX %``)
-accessed for how long time (``age XX``). For example, the eleventh region of
-~9.5 MiB size is being most frequently accessed for last 3.7 seconds. Finally,
+accessed for how long (``age XX``). For example, the eleventh region of
+~9.5 MiB size is being most frequently accessed for the last 3.7 seconds. Finally,
the fourth command stops DAMON.
Rest looks good to me:
Reviewed-by: Manuel Ebner <manuelebnerli@mailbox.org>
Thanks
> ...
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement
2026-10-26 11:14 ` [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement Aveline Noir
@ 2026-10-26 12:44 ` Manuel Ebner
2026-10-26 14:31 ` SJ Park
2026-10-26 14:24 ` SJ Park
1 sibling, 1 reply; 26+ messages in thread
From: Manuel Ebner @ 2026-10-26 12:44 UTC (permalink / raw)
To: Aveline Noir, SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, damon, linux-mm,
linux-doc, linux-kernel
Hi Aveline,
On Mon, 2026-10-26 at 22:14 +1100, Aveline Noir wrote:
> "converts it" refers to the access events, so I think it should be
> "them". Rewrap the paragraph while at it.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
> ---
> Documentation/admin-guide/mm/damon/stat.rst | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/admin-guide/mm/damon/stat.rst b/Documentation/admin-guide/mm/damon/stat.rst
> index 4a9db755a526..a93609649a5f 100644
> --- a/Documentation/admin-guide/mm/damon/stat.rst
> +++ b/Documentation/admin-guide/mm/damon/stat.rst
Here I found this one:
@@ -41,8 +41,8 @@ enabled
Enable or disable DAMON_STAT.
-You can enable DAMON_STAT by setting the value of this parameter as ``Y``.
-Setting it as ``N`` disables DAMON_STAT. The default value is set by
+You can enable DAMON_STAT by setting the value of this parameter to ``Y``.
+Setting it to ``N`` disables DAMON_STAT. The default value is set by
``CONFIG_DAMON_STAT_ENABLED_DEFAULT`` build config option.
> @@ -68,10 +68,10 @@ estimated_memory_bandwidth
> Estimated memory bandwidth consumption (bytes per second) of the system.
>
> DAMON_STAT reads observed access events on the current DAMON results snapshot
> -and converts it to memory bandwidth consumption estimation in bytes per second.
> -The resulting metric is exposed to user via this read-only parameter. Because
> -DAMON uses sampling, this is only an estimation of the access intensity rather
> -than accurate memory bandwidth.
> +and converts them to memory bandwidth consumption estimation in bytes per
> +second. The resulting metric is exposed to user via this read-only parameter.
> +Because DAMON uses sampling, this is only an estimation of the access intensity
> +rather than accurate memory bandwidth.
>
> memory_idle_ms_percentiles
> --------------------------
Thanks,
Reviewed-by: Manuel Ebner <manuelebnerli@mailbox.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar
2026-10-26 11:14 ` [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar Aveline Noir
@ 2026-10-26 12:57 ` Manuel Ebner
2026-10-26 14:44 ` SJ Park
2026-10-26 14:42 ` SJ Park
1 sibling, 1 reply; 26+ messages in thread
From: Manuel Ebner @ 2026-10-26 12:57 UTC (permalink / raw)
To: Aveline Noir, SJ Park
Cc: Jonathan Corbet, Shuah Khan, Randy Dunlap, damon, linux-mm,
linux-doc, linux-kernel
Hi again,
On Mon, 2026-10-26 at 22:14 +1100, Aveline Noir wrote:
> Manuel's recent grammar fix for this file, now in damon/next, covered a
> good part of it. This should take care of the few mistakes that are
> left, like "should automatically activated" and "Make DAMON_LRU_SORT
> reads". Rewrap where the lines got too long.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
> ---
> .../admin-guide/mm/damon/lru_sort.rst | 45 ++++++++++---------
> 1 file changed, 23 insertions(+), 22 deletions(-)
>
> diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentation/admin-guide/mm/damon/lru_sort.rst
> index aa4cc90ca57c..c628e3f6e587 100644
> --- a/Documentation/admin-guide/mm/damon/lru_sort.rst
> +++ b/Documentation/admin-guide/mm/damon/lru_sort.rst
> @@ -35,7 +35,7 @@ deprioritizing cold pages on their LRU-lists. To avoid it consuming too much
> CPU for the prioritizations, a CPU time usage limit can be configured. Under
> the limit, it prioritizes and deprioritizes more hot and cold pages first,
> respectively. System administrators can also configure under what situation
> -this scheme should automatically activated and deactivated with three memory
> +this scheme should be automatically activated and deactivated with three memory
Yours isn't wrong but I would make it:
+this scheme should automatically be activated and deactivated with three memory
Choose as you like.
> pressure watermarks.
>
> Its default parameters for hotness/coldness thresholds and CPU quota limit are
> @@ -55,7 +55,7 @@ DAMON_LRU_SORT utilizes module parameters. That is, you can put
> ``damon_lru_sort.<parameter>=<value>`` on the kernel boot command line or write
> proper values to ``/sys/module/damon_lru_sort/parameters/<parameter>`` files.
>
> -Below are the description of each parameter.
> +Below is the description of each parameter.
My choice :
+Below are the descriptions of each parameter.
> ...
Looks good to me.
>
> --------------------
> @@ -310,7 +311,7 @@ Total bytes of hot memory regions that were successfully LRU-sorted.
> nr_hot_quota_exceeds
> --------------------
>
> -Number of times that the time quota limit for hot regions have exceeded.
> +Number of times that the time quota limit for hot regions has been exceeded.
I would go for this, but I'm not sure:
+Number of times that the time quota limit for hot regions have been exceeded.
Number of times that ... have been exceeded.
Thanks,
Reviewed-by: Manuel Ebner <manuelebnerli@mailbox.org>
> ...
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar
2026-10-26 11:14 ` [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar Aveline Noir
2026-10-26 12:41 ` Manuel Ebner
@ 2026-10-26 14:10 ` SJ Park
1 sibling, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:10 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:33 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> Fix a few grammar slips in the getting-started guide, like "make DAMON
> monitors" and a region "that has not accessed".
>
> "The line of the commands" used to be "The first two lines". With only
> one masim line left, I make it "The first line".
Looks good to me.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement
2026-10-26 11:14 ` [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement Aveline Noir
2026-10-26 12:44 ` Manuel Ebner
@ 2026-10-26 14:24 ` SJ Park
1 sibling, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:24 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:34 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> "converts it" refers to the access events, so I think it should be
> "them". Rewrap the paragraph while at it.
Looks good to me.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar
2026-10-26 12:41 ` Manuel Ebner
@ 2026-10-26 14:29 ` SJ Park
2026-10-26 15:50 ` Aveline Noir
0 siblings, 1 reply; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:29 UTC (permalink / raw)
To: Manuel Ebner
Cc: SJ Park, Aveline Noir, Jonathan Corbet, Shuah Khan, Randy Dunlap,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 13:41:32 +0100 Manuel Ebner <manuelebnerli@mailbox.org> wrote:
> On Mon, 2026-10-26 at 22:14 +1100, Aveline Noir wrote:
> > Fix a few grammar slips in the getting-started guide, like "make DAMON
> > monitors" and a region "that has not accessed".
> >
> > "The line of the commands" used to be "The first two lines". With only
> > one masim line left, I make it "The first line".
> >
> > Signed-off-by: Aveline Noir <jm5905938@gmail.com>
> > ---
> > Documentation/admin-guide/mm/damon/start.rst | 10 +++++-----
> > 1 file changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/Documentation/admin-guide/mm/damon/start.rst b/Documentation/admin-guide/mm/damon/start.rst
> > index d98b0eb8e771..a83fcc2265bd 100644
> > --- a/Documentation/admin-guide/mm/damon/start.rst
> > +++ b/Documentation/admin-guide/mm/damon/start.rst
> > @@ -63,7 +63,7 @@ the execution. ::
> >
> > The first command of the above example downloads and builds an artificial
> > memory access generator program called ``masim``. The second command asks DAMO
> > -to start the program via the given command and make DAMON monitors the newly
> > +to start the program via the given command and make DAMON monitor the newly
>
> 'The second command asks ... and makes ...' Thus:
>
> +to start the program via the given command and makes DAMON monitor the newly
My intention was saying DAMO is commanding DAMON to monitor the process. So I
find Aveline's version is slightly better.
>
> > started process. The third command retrieves the current snapshot of the
> > monitored access pattern of the process from DAMON and shows the pattern in a
> > human readable format.
> > @@ -71,7 +71,7 @@ human readable format.
> > The first line of the output shows the relative access temperature (hotness) of
> > the regions in a single row heatmap format. Each column on the heatmap
> > represents regions of same size on the monitored virtual address space. The
> > -position of the column on the row and the number on the column represents the
> > +position of the column on the row and the number on the column represent the
> > relative location and access temperature of the region. ``[...]`` means
> > unmapped huge regions on the virtual address spaces. The second line shows
> > additional information for better understanding the heatmap.
>
> I have read the damon directory aswell but I didn't find enought to send a patch yet.
> But I found this, could you add it to your patch?
>
> @@ -78,8 +78,8 @@ additional information for better understanding the heatmap.
>
> Each line of the output from the third line shows which virtual address range
> (``addr XX size XX``) of the process is how frequently (``access XX %``)
> -accessed for how long time (``age XX``). For example, the eleventh region of
> -~9.5 MiB size is being most frequently accessed for last 3.7 seconds. Finally,
> +accessed for how long (``age XX``). For example, the eleventh region of
> +~9.5 MiB size is being most frequently accessed for the last 3.7 seconds. Finally,
> the fourth command stops DAMON.
Looks good. Unless Aveline objects or do this by themselves with revisioning,
I will add this change when I apply this patch to damon/next.
>
> Rest looks good to me:
>
> Reviewed-by: Manuel Ebner <manuelebnerli@mailbox.org>
Thank you for reviewing!
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement
2026-10-26 12:44 ` Manuel Ebner
@ 2026-10-26 14:31 ` SJ Park
2026-10-26 15:50 ` Aveline Noir
0 siblings, 1 reply; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:31 UTC (permalink / raw)
To: Manuel Ebner
Cc: SJ Park, Aveline Noir, Jonathan Corbet, Shuah Khan, Randy Dunlap,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 13:44:55 +0100 Manuel Ebner <manuelebnerli@mailbox.org> wrote:
> Hi Aveline,
>
> On Mon, 2026-10-26 at 22:14 +1100, Aveline Noir wrote:
> > "converts it" refers to the access events, so I think it should be
> > "them". Rewrap the paragraph while at it.
> >
> > Signed-off-by: Aveline Noir <jm5905938@gmail.com>
> > ---
> > Documentation/admin-guide/mm/damon/stat.rst | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/Documentation/admin-guide/mm/damon/stat.rst b/Documentation/admin-guide/mm/damon/stat.rst
> > index 4a9db755a526..a93609649a5f 100644
> > --- a/Documentation/admin-guide/mm/damon/stat.rst
> > +++ b/Documentation/admin-guide/mm/damon/stat.rst
>
> Here I found this one:
> @@ -41,8 +41,8 @@ enabled
>
> Enable or disable DAMON_STAT.
>
> -You can enable DAMON_STAT by setting the value of this parameter as ``Y``.
> -Setting it as ``N`` disables DAMON_STAT. The default value is set by
> +You can enable DAMON_STAT by setting the value of this parameter to ``Y``.
> +Setting it to ``N`` disables DAMON_STAT. The default value is set by
> ``CONFIG_DAMON_STAT_ENABLED_DEFAULT`` build config option.
Thanks. Unless Aveline objects or add this part to the next revision of this
patch, I will add this when I apply this patch to damon/next.
>
> > @@ -68,10 +68,10 @@ estimated_memory_bandwidth
> > Estimated memory bandwidth consumption (bytes per second) of the system.
> >
> > DAMON_STAT reads observed access events on the current DAMON results snapshot
> > -and converts it to memory bandwidth consumption estimation in bytes per second.
> > -The resulting metric is exposed to user via this read-only parameter. Because
> > -DAMON uses sampling, this is only an estimation of the access intensity rather
> > -than accurate memory bandwidth.
> > +and converts them to memory bandwidth consumption estimation in bytes per
> > +second. The resulting metric is exposed to user via this read-only parameter.
> > +Because DAMON uses sampling, this is only an estimation of the access intensity
> > +rather than accurate memory bandwidth.
> >
> > memory_idle_ms_percentiles
> > --------------------------
>
>
> Thanks,
> Reviewed-by: Manuel Ebner <manuelebnerli@mailbox.org>
Thank you for your review.
Thanks,
SJ
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 3/8] Docs/admin-guide/mm/damon/usage: fix grammar
2026-10-26 11:14 ` [PATCH 3/8] Docs/admin-guide/mm/damon/usage: fix grammar Aveline Noir
@ 2026-10-26 14:37 ` SJ Park
0 siblings, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:37 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:35 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> Fix a handful of grammar mistakes in the usage doc, mostly
> subject-verb agreement and a missing or extra "be". Also turn "Below
> commands applies" into "The commands below apply", which I think reads
> better. Rewrap where the lines got too long.
Looks good and correct to me.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar
2026-10-26 11:14 ` [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar Aveline Noir
2026-10-26 12:57 ` Manuel Ebner
@ 2026-10-26 14:42 ` SJ Park
1 sibling, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:42 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:36 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> Manuel's recent grammar fix for this file, now in damon/next, covered a
> good part of it. This should take care of the few mistakes that are
> left, like "should automatically activated" and "Make DAMON_LRU_SORT
> reads". Rewrap where the lines got too long.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar
2026-10-26 12:57 ` Manuel Ebner
@ 2026-10-26 14:44 ` SJ Park
2026-10-26 15:50 ` Aveline Noir
0 siblings, 1 reply; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:44 UTC (permalink / raw)
To: Manuel Ebner
Cc: SJ Park, Aveline Noir, Jonathan Corbet, Shuah Khan, Randy Dunlap,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 13:57:49 +0100 Manuel Ebner <manuelebnerli@mailbox.org> wrote:
> Hi again,
>
> On Mon, 2026-10-26 at 22:14 +1100, Aveline Noir wrote:
> > Manuel's recent grammar fix for this file, now in damon/next, covered a
> > good part of it. This should take care of the few mistakes that are
> > left, like "should automatically activated" and "Make DAMON_LRU_SORT
> > reads". Rewrap where the lines got too long.
> >
> > Signed-off-by: Aveline Noir <jm5905938@gmail.com>
> > ---
> > .../admin-guide/mm/damon/lru_sort.rst | 45 ++++++++++---------
> > 1 file changed, 23 insertions(+), 22 deletions(-)
> >
> > diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentation/admin-guide/mm/damon/lru_sort.rst
> > index aa4cc90ca57c..c628e3f6e587 100644
> > --- a/Documentation/admin-guide/mm/damon/lru_sort.rst
> > +++ b/Documentation/admin-guide/mm/damon/lru_sort.rst
> > @@ -35,7 +35,7 @@ deprioritizing cold pages on their LRU-lists. To avoid it consuming too much
> > CPU for the prioritizations, a CPU time usage limit can be configured. Under
> > the limit, it prioritizes and deprioritizes more hot and cold pages first,
> > respectively. System administrators can also configure under what situation
> > -this scheme should automatically activated and deactivated with three memory
> > +this scheme should be automatically activated and deactivated with three memory
>
> Yours isn't wrong but I would make it:
> +this scheme should automatically be activated and deactivated with three memory
>
> Choose as you like.
>
> > pressure watermarks.
> >
> > Its default parameters for hotness/coldness thresholds and CPU quota limit are
> > @@ -55,7 +55,7 @@ DAMON_LRU_SORT utilizes module parameters. That is, you can put
> > ``damon_lru_sort.<parameter>=<value>`` on the kernel boot command line or write
> > proper values to ``/sys/module/damon_lru_sort/parameters/<parameter>`` files.
> >
> > -Below are the description of each parameter.
> > +Below is the description of each parameter.
>
> My choice :
> +Below are the descriptions of each parameter.
>
>
> > ...
> Looks good to me.
>
> >
> > --------------------
> > @@ -310,7 +311,7 @@ Total bytes of hot memory regions that were successfully LRU-sorted.
> > nr_hot_quota_exceeds
> > --------------------
> >
> > -Number of times that the time quota limit for hot regions have exceeded.
> > +Number of times that the time quota limit for hot regions has been exceeded.
>
> I would go for this, but I'm not sure:
> +Number of times that the time quota limit for hot regions have been exceeded.
>
> Number of times that ... have been exceeded.
I have no strong opinion. Aveline, let me know if you have some.
>
> Thanks,
> Reviewed-by: Manuel Ebner <manuelebnerli@mailbox.org>
Thank you for review, Manuel.
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 5/8] Docs/mm/damon/design: fix grammar and typos
2026-10-26 11:14 ` [PATCH 5/8] Docs/mm/damon/design: fix grammar and typos Aveline Noir
@ 2026-10-26 14:54 ` SJ Park
0 siblings, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:54 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:37 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> The design doc has quite a few relative clauses that seem to have lost
> their verb, like "pages that assumed to have" or "filters that handled
> by the core layer". Fix those, along with some agreement issues and a
> couple of typos: "Parreto", and "Use space", which I think should be
> "User space". Rewrap where the lines got too long.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 6/8] Docs/mm/damon/api: fix verb form
2026-10-26 11:14 ` [PATCH 6/8] Docs/mm/damon/api: fix verb form Aveline Noir
@ 2026-10-26 14:55 ` SJ Park
0 siblings, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:55 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:38 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> It should be "All you need to do is include", not "including".
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 7/8] Docs/mm/damon/maintainer-profile: fix subject-verb agreement
2026-10-26 11:14 ` [PATCH 7/8] Docs/mm/damon/maintainer-profile: fix subject-verb agreement Aveline Noir
@ 2026-10-26 14:56 ` SJ Park
0 siblings, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:56 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:39 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> "The DAMON maintainer usually work" should be "works".
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 8/8] Docs/mm/damon/monitoring_intervals_tuning_example: fix grammar and typos
2026-10-26 11:14 ` [PATCH 8/8] Docs/mm/damon/monitoring_intervals_tuning_example: fix grammar and typos Aveline Noir
@ 2026-10-26 14:59 ` SJ Park
0 siblings, 0 replies; 26+ messages in thread
From: SJ Park @ 2026-10-26 14:59 UTC (permalink / raw)
To: Aveline Noir
Cc: SJ Park, Jonathan Corbet, Shuah Khan, Randy Dunlap, Manuel Ebner,
damon, linux-mm, linux-doc, linux-kernel
On Mon, 26 Oct 2026 22:14:40 +1100 Aveline Noir <jm5905938@gmail.com> wrote:
> Fix a few typos, including "Moniting" in the title, and some grammar in
> the interval tuning example.
>
> "starts looking degrading" should be "start looking degraded for", as I
> think the sentence means the cold region detection starts to look worse.
> Rewrap where the lines got too long.
>
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar
2026-10-26 14:29 ` SJ Park
@ 2026-10-26 15:50 ` Aveline Noir
0 siblings, 0 replies; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 15:50 UTC (permalink / raw)
To: SJ Park
Cc: Manuel Ebner, Jonathan Corbet, Shuah Khan, Randy Dunlap, damon,
linux-mm, linux-doc, linux-kernel
Hi SJ and Manuel,
On Mon, 26 Oct 2026 07:29:26 -0700, SJ Park wrote:
> My intention was saying DAMO is commanding DAMON to monitor the process.
> So I find Aveline's version is slightly better.
Agreed. Both "start" and "make" depend on "asks DAMO to", so I'd keep
"make" here.
> Looks good. Unless Aveline objects or do this by themselves with
> revisioning, I will add this change when I apply this patch to
> damon/next.
Those two fixes look good to me too. Please include them when
applying, SJ. Thank you both for reviewing.
Thanks,
Aveline Noir
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement
2026-10-26 14:31 ` SJ Park
@ 2026-10-26 15:50 ` Aveline Noir
0 siblings, 0 replies; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 15:50 UTC (permalink / raw)
To: SJ Park
Cc: Manuel Ebner, Jonathan Corbet, Shuah Khan, Randy Dunlap, damon,
linux-mm, linux-doc, linux-kernel
Hi SJ and Manuel,
On Mon, 26 Oct 2026 07:31:07 -0700, SJ Park wrote:
> Thanks. Unless Aveline objects or add this part to the next revision of
> this patch, I will add this when I apply this patch to damon/next.
Using "to" reads better to me too. Please fold Manuel's change in when
applying :)
Thanks for the reviews,
Aveline Noir
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar
2026-10-26 14:44 ` SJ Park
@ 2026-10-26 15:50 ` Aveline Noir
0 siblings, 0 replies; 26+ messages in thread
From: Aveline Noir @ 2026-10-26 15:50 UTC (permalink / raw)
To: SJ Park
Cc: Manuel Ebner, Jonathan Corbet, Shuah Khan, Randy Dunlap, damon,
linux-mm, linux-doc, linux-kernel
Hi SJ and Manuel,
On Mon, 26 Oct 2026 07:44:50 -0700, SJ Park wrote:
> > Yours isn't wrong but I would make it:
> > +this scheme should automatically be activated and deactivated with three memory
> >
> > Choose as you like.
I feel my wording reads a little better here, so I might lean towards
keeping it.
> > My choice :
> > +Below are the descriptions of each parameter.
Agreed. The plural "descriptions" reads better here.
> > I would go for this, but I'm not sure:
> > +Number of times that the time quota limit for hot regions have been exceeded.
>
> I have no strong opinion. Aveline, let me know if you have some.
I think "has been exceeded" fits here, since the subject is the
singular "time quota limit". The same applies to cold regions.
Thanks for the reviews :)
Aveline Noir
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2026-10-26 15:54 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 11:14 [PATCH 0/8] Docs: damon: fix grammar and typos Aveline Noir
2026-10-26 11:14 ` [PATCH 1/8] Docs/admin-guide/mm/damon/start: fix grammar Aveline Noir
2026-10-26 12:41 ` Manuel Ebner
2026-10-26 14:29 ` SJ Park
2026-10-26 15:50 ` Aveline Noir
2026-10-26 14:10 ` SJ Park
2026-10-26 11:14 ` [PATCH 2/8] Docs/admin-guide/mm/damon/stat: fix pronoun agreement Aveline Noir
2026-10-26 12:44 ` Manuel Ebner
2026-10-26 14:31 ` SJ Park
2026-10-26 15:50 ` Aveline Noir
2026-10-26 14:24 ` SJ Park
2026-10-26 11:14 ` [PATCH 3/8] Docs/admin-guide/mm/damon/usage: fix grammar Aveline Noir
2026-10-26 14:37 ` SJ Park
2026-10-26 11:14 ` [PATCH 4/8] Docs/admin-guide/mm/damon/lru_sort: fix remaining grammar Aveline Noir
2026-10-26 12:57 ` Manuel Ebner
2026-10-26 14:44 ` SJ Park
2026-10-26 15:50 ` Aveline Noir
2026-10-26 14:42 ` SJ Park
2026-10-26 11:14 ` [PATCH 5/8] Docs/mm/damon/design: fix grammar and typos Aveline Noir
2026-10-26 14:54 ` SJ Park
2026-10-26 11:14 ` [PATCH 6/8] Docs/mm/damon/api: fix verb form Aveline Noir
2026-10-26 14:55 ` SJ Park
2026-10-26 11:14 ` [PATCH 7/8] Docs/mm/damon/maintainer-profile: fix subject-verb agreement Aveline Noir
2026-10-26 14:56 ` SJ Park
2026-10-26 11:14 ` [PATCH 8/8] Docs/mm/damon/monitoring_intervals_tuning_example: fix grammar and typos Aveline Noir
2026-10-26 14:59 ` SJ Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®