* [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes
@ 2026-10-06 6:15 Adrian Huang (Lenovo)
2026-10-06 6:15 ` [PATCH 1/3] Docs/admin-guide/mm/damon: Fix various typos Adrian Huang (Lenovo)
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Adrian Huang (Lenovo) @ 2026-10-06 6:15 UTC (permalink / raw)
To: SJ Park, Andrew Morton
Cc: damon, linux-mm, linux-doc, linux-kernel, Jonathan Corbet,
Shuah Khan, Randy Dunlap, ahuang12, Adrian Huang (Lenovo)
This small patch series fixes various typos, copy-paste mistakes, and an
incorrect command syntax in the DAMON documentation files.
Adrian Huang (Lenovo) (3):
Docs/admin-guide/mm/damon: Fix various typos
Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes
Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf
example
Documentation/admin-guide/mm/damon/lru_sort.rst | 6 +++---
Documentation/admin-guide/mm/damon/reclaim.rst | 4 ++--
Documentation/admin-guide/mm/damon/start.rst | 6 +++---
Documentation/admin-guide/mm/damon/stat.rst | 2 +-
Documentation/admin-guide/mm/damon/usage.rst | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/3] Docs/admin-guide/mm/damon: Fix various typos
2026-10-06 6:15 [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes Adrian Huang (Lenovo)
@ 2026-10-06 6:15 ` Adrian Huang (Lenovo)
2026-10-06 6:55 ` SJ Park
2026-10-06 6:15 ` [PATCH 2/3] Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes Adrian Huang (Lenovo)
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Adrian Huang (Lenovo) @ 2026-10-06 6:15 UTC (permalink / raw)
To: SJ Park, Andrew Morton
Cc: damon, linux-mm, linux-doc, linux-kernel, Jonathan Corbet,
Shuah Khan, Randy Dunlap, ahuang12, Adrian Huang (Lenovo)
Fix several spelling mistakes found while reading the DAMON
documentation:
* trusworthy -> trustworthy
* DAMON_RCLAIM -> DAMON_RECLAIM
* charget -> charge
* hetmap -> heatmap
* colun -> column
* evelenth -> eleventh
* idlee -> idle
Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com>
---
Documentation/admin-guide/mm/damon/lru_sort.rst | 2 +-
Documentation/admin-guide/mm/damon/reclaim.rst | 4 ++--
Documentation/admin-guide/mm/damon/start.rst | 6 +++---
Documentation/admin-guide/mm/damon/stat.rst | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentation/admin-guide/mm/damon/lru_sort.rst
index b93ca9b0853d..c3b688385681 100644
--- a/Documentation/admin-guide/mm/damon/lru_sort.rst
+++ b/Documentation/admin-guide/mm/damon/lru_sort.rst
@@ -7,7 +7,7 @@ DAMON-based LRU-lists Sorting
DAMON-based LRU-lists Sorting (DAMON_LRU_SORT) is a static kernel module that
aimed to be used for proactive and lightweight data access pattern based
(de)prioritization of pages on their LRU-lists for making LRU-lists a more
-trusworthy data access pattern source.
+trustworthy data access pattern source.
Where Proactive LRU-lists Sorting is Required?
==============================================
diff --git a/Documentation/admin-guide/mm/damon/reclaim.rst b/Documentation/admin-guide/mm/damon/reclaim.rst
index ec7e3e32b4ac..e4e2ffa52e26 100644
--- a/Documentation/admin-guide/mm/damon/reclaim.rst
+++ b/Documentation/admin-guide/mm/damon/reclaim.rst
@@ -55,7 +55,7 @@ enabled
Enable or disable DAMON_RECLAIM.
-You can enable DAMON_RCLAIM by setting the value of this parameter as ``Y``.
+You can enable DAMON_RECLAIM by setting the value of this parameter as ``Y``.
Setting it as ``N`` disables DAMON_RECLAIM. Note that DAMON_RECLAIM could do
no real monitoring and reclamation due to the watermarks-based activation
condition. Refer to below descriptions for the watermarks parameter for this.
@@ -125,7 +125,7 @@ quota_reset_interval_ms
The time/size quota charge reset interval in milliseconds.
-The charget reset interval for the quota of time (quota_ms) and size
+The charge reset interval for the quota of time (quota_ms) and size
(quota_sz). That is, DAMON_RECLAIM does not try reclamation for more than
quota_ms milliseconds or quota_sz bytes within quota_reset_interval_ms
milliseconds.
diff --git a/Documentation/admin-guide/mm/damon/start.rst b/Documentation/admin-guide/mm/damon/start.rst
index ec8c34b2d32f..d98b0eb8e771 100644
--- a/Documentation/admin-guide/mm/damon/start.rst
+++ b/Documentation/admin-guide/mm/damon/start.rst
@@ -69,16 +69,16 @@ monitored access pattern of the process from DAMON and shows the pattern in a
human readable format.
The first line of the output shows the relative access temperature (hotness) of
-the regions in a single row hetmap format. Each column on the heatmap
+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 colun on the row and the number on the column represents the
+position of the column on the row and the number on the column represents 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.
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 evelenth region of
+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,
the fourth command stops DAMON.
diff --git a/Documentation/admin-guide/mm/damon/stat.rst b/Documentation/admin-guide/mm/damon/stat.rst
index 46c5dd96aa2e..4a9db755a526 100644
--- a/Documentation/admin-guide/mm/damon/stat.rst
+++ b/Documentation/admin-guide/mm/damon/stat.rst
@@ -81,7 +81,7 @@ Per-byte idle time (milliseconds) percentiles of the system.
DAMON_STAT calculates how long each byte of the memory was not accessed until
now (idle time), based on the current DAMON results snapshot. For regions
having access frequency (nr_accesses) larger than zero, how long the current
-access frequency level was kept multiplied by ``-1`` becomes the idlee time of
+access frequency level was kept multiplied by ``-1`` becomes the idle time of
every byte of the region. If a region has zero access frequency (nr_accesses),
how long the region was keeping the zero access frequency (age) becomes the
idle time of every byte of the region. Then, DAMON_STAT exposes the
--
2.43.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/3] Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes
2026-10-06 6:15 [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes Adrian Huang (Lenovo)
2026-10-06 6:15 ` [PATCH 1/3] Docs/admin-guide/mm/damon: Fix various typos Adrian Huang (Lenovo)
@ 2026-10-06 6:15 ` Adrian Huang (Lenovo)
2026-10-06 6:56 ` SJ Park
2026-10-06 6:15 ` [PATCH 3/3] Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf example Adrian Huang (Lenovo)
2026-10-06 7:03 ` [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes SJ Park
3 siblings, 1 reply; 8+ messages in thread
From: Adrian Huang (Lenovo) @ 2026-10-06 6:15 UTC (permalink / raw)
To: SJ Park, Andrew Morton
Cc: damon, linux-mm, linux-doc, linux-kernel, Jonathan Corbet,
Shuah Khan, Randy Dunlap, ahuang12, Adrian Huang (Lenovo)
The DAMON_LRU_SORT documentation mistakenly refers to DAMON_RECLAIM
in a few places.
Fix these copy-paste mistakes to correctly refer to DAMON_LRU_SORT.
Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com>
---
Documentation/admin-guide/mm/damon/lru_sort.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentation/admin-guide/mm/damon/lru_sort.rst
index c3b688385681..0c04d238edc4 100644
--- a/Documentation/admin-guide/mm/damon/lru_sort.rst
+++ b/Documentation/admin-guide/mm/damon/lru_sort.rst
@@ -264,7 +264,7 @@ addr_unit
A scale factor for memory addresses and bytes.
This parameter is for setting and getting the :ref:`address unit
-<damon_design_addr_unit>` parameter of the DAMON instance for DAMON_RECLAIM.
+<damon_design_addr_unit>` parameter of the DAMON instance for DAMON_LRU_SORT.
``monitor_region_start`` and ``monitor_region_end`` should be provided in this
unit. For example, let's suppose ``addr_unit``, ``monitor_region_start`` and
@@ -347,7 +347,7 @@ memory regions that 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
-50%, but start the real works if it becomes lower than 40%. If DAMON_RECLAIM
+50%, but start the real works if it becomes lower than 40%. If DAMON_LRU_SORT
doesn't make progress and therefore the free memory rate becomes lower than
20%, it asks DAMON_LRU_SORT to do nothing again, so that we can fall back to
the LRU-list based page granularity reclamation. ::
--
2.43.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 3/3] Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf example
2026-10-06 6:15 [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes Adrian Huang (Lenovo)
2026-10-06 6:15 ` [PATCH 1/3] Docs/admin-guide/mm/damon: Fix various typos Adrian Huang (Lenovo)
2026-10-06 6:15 ` [PATCH 2/3] Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes Adrian Huang (Lenovo)
@ 2026-10-06 6:15 ` Adrian Huang (Lenovo)
2026-10-06 6:58 ` SJ Park
2026-10-06 7:03 ` [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes SJ Park
3 siblings, 1 reply; 8+ messages in thread
From: Adrian Huang (Lenovo) @ 2026-10-06 6:15 UTC (permalink / raw)
To: SJ Park, Andrew Morton
Cc: damon, linux-mm, linux-doc, linux-kernel, Jonathan Corbet,
Shuah Khan, Randy Dunlap, ahuang12, Adrian Huang (Lenovo)
The kill command in the DAMON documentation uses an incorrect
option syntax in the perf example.
Use kill -9 instead of kill 9 to correctly send SIGKILL to
the perf process.
Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com>
---
Documentation/admin-guide/mm/damon/usage.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst
index 3d43954c7046..bd687d89ea4c 100644
--- a/Documentation/admin-guide/mm/damon/usage.rst
+++ b/Documentation/admin-guide/mm/damon/usage.rst
@@ -749,7 +749,7 @@ show results using tracepoint supporting tools like ``perf``. For example::
# echo on > kdamonds/0/state
# perf record -e damon:damon_aggregated &
# sleep 5
- # kill 9 $(pidof perf)
+ # kill -9 $(pidof perf)
# echo off > kdamonds/0/state
# perf script
kdamond.0 46568 [027] 79357.842179: damon:damon_aggregated: target_id=0 nr_regions=11 122509119488-135708762112: 0 864
--
2.43.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/3] Docs/admin-guide/mm/damon: Fix various typos
2026-10-06 6:15 ` [PATCH 1/3] Docs/admin-guide/mm/damon: Fix various typos Adrian Huang (Lenovo)
@ 2026-10-06 6:55 ` SJ Park
0 siblings, 0 replies; 8+ messages in thread
From: SJ Park @ 2026-10-06 6:55 UTC (permalink / raw)
To: Adrian Huang (Lenovo)
Cc: SJ Park, Andrew Morton, damon, linux-mm, linux-doc, linux-kernel,
Jonathan Corbet, Shuah Khan, Randy Dunlap, ahuang12
On Tue, 6 Oct 2026 14:15:47 +0800 "Adrian Huang (Lenovo)" <adrianhuang0701@gmail.com> wrote:
> Fix several spelling mistakes found while reading the DAMON
> documentation:
> * trusworthy -> trustworthy
> * DAMON_RCLAIM -> DAMON_RECLAIM
> * charget -> charge
> * hetmap -> heatmap
> * colun -> column
> * evelenth -> eleventh
> * idlee -> idle
Thank you for finding fixing these, Adrian!
>
> Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/3] Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes
2026-10-06 6:15 ` [PATCH 2/3] Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes Adrian Huang (Lenovo)
@ 2026-10-06 6:56 ` SJ Park
0 siblings, 0 replies; 8+ messages in thread
From: SJ Park @ 2026-10-06 6:56 UTC (permalink / raw)
To: Adrian Huang (Lenovo)
Cc: SJ Park, Andrew Morton, damon, linux-mm, linux-doc, linux-kernel,
Jonathan Corbet, Shuah Khan, Randy Dunlap, ahuang12
On Tue, 6 Oct 2026 14:15:48 +0800 "Adrian Huang (Lenovo)" <adrianhuang0701@gmail.com> wrote:
> The DAMON_LRU_SORT documentation mistakenly refers to DAMON_RECLAIM
> in a few places.
>
> Fix these copy-paste mistakes to correctly refer to DAMON_LRU_SORT.
Good eyes, thank you!
>
> Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/3] Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf example
2026-10-06 6:15 ` [PATCH 3/3] Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf example Adrian Huang (Lenovo)
@ 2026-10-06 6:58 ` SJ Park
0 siblings, 0 replies; 8+ messages in thread
From: SJ Park @ 2026-10-06 6:58 UTC (permalink / raw)
To: Adrian Huang (Lenovo)
Cc: SJ Park, Andrew Morton, damon, linux-mm, linux-doc, linux-kernel,
Jonathan Corbet, Shuah Khan, Randy Dunlap, ahuang12
On Tue, 6 Oct 2026 14:15:49 +0800 "Adrian Huang (Lenovo)" <adrianhuang0701@gmail.com> wrote:
> The kill command in the DAMON documentation uses an incorrect
> option syntax in the perf example.
>
> Use kill -9 instead of kill 9 to correctly send SIGKILL to
> the perf process.
Nice catch, thank you Adrian.
>
> Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com>
Reviewed-by: SJ Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes
2026-10-06 6:15 [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes Adrian Huang (Lenovo)
` (2 preceding siblings ...)
2026-10-06 6:15 ` [PATCH 3/3] Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf example Adrian Huang (Lenovo)
@ 2026-10-06 7:03 ` SJ Park
3 siblings, 0 replies; 8+ messages in thread
From: SJ Park @ 2026-10-06 7:03 UTC (permalink / raw)
To: Adrian Huang (Lenovo)
Cc: SJ Park, Andrew Morton, damon, linux-mm, linux-doc, linux-kernel,
Jonathan Corbet, Shuah Khan, Randy Dunlap, ahuang12
On Tue, 6 Oct 2026 14:15:46 +0800 "Adrian Huang (Lenovo)" <adrianhuang0701@gmail.com> wrote:
> This small patch series fixes various typos, copy-paste mistakes, and an
> incorrect command syntax in the DAMON documentation files.
>
> Adrian Huang (Lenovo) (3):
> Docs/admin-guide/mm/damon: Fix various typos
> Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes
> Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf
> example
Looks good to me, thank you.
I applied this series to damon/next [1] tree. We are now quite close to next
merge window. I'd like us (mm and damon community) to focus on making mm.git
more stabilized and therefore ready for the next merge window, rather than
adding more changes that are not really urgent. I understand this series is
not really urgent. Hence, Andrew might not add this patch until next -rc1
release. In the case, I will request adding this to mm.git after next -rc1
release. So, no action from your side is needed for now. Let me know if I'm
missing something.
[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-10-06 7:03 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 6:15 [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes Adrian Huang (Lenovo)
2026-10-06 6:15 ` [PATCH 1/3] Docs/admin-guide/mm/damon: Fix various typos Adrian Huang (Lenovo)
2026-10-06 6:55 ` SJ Park
2026-10-06 6:15 ` [PATCH 2/3] Docs/admin-guide/mm/damon/lru_sort: Fix copy-paste mistakes Adrian Huang (Lenovo)
2026-10-06 6:56 ` SJ Park
2026-10-06 6:15 ` [PATCH 3/3] Docs/admin-guide/mm/damon/usage: Fix incorrect option syntax in perf example Adrian Huang (Lenovo)
2026-10-06 6:58 ` SJ Park
2026-10-06 7:03 ` [PATCH 0/3] Docs/admin-guide/mm/damon: Minor fixes 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®