Docs/admin-guide/mm/damon/reclaim: improve language
Subsystems (4)
v2 cover Docs/admin-guide/mm/damon/reclaim: improve language
I went through the mails and divided the diffs and suggestions into two patches. That's why some changes of [PATCH 1] get deleted or written over in [PATCH 2].
I keept lines with barely over 80 chars and didn't fix wrong upper-case in headings. I prefer uppercase Nouns(sic).
@SJ
I hope I got everything. If you have the urge to change or add anything feel free to do so.
[v2]
Include suggestions from SJ and Aveline
Split [v1] into
[1/2 v2] Docs/admin-guide/mm/damon/reclaim: improve grammar and style [2/2 v2] Docs/admin-guide/mm/damon/reclaim: rewrite complex parts
Fixed an upper case and a missing double space -> [1/2 v2]
PATCH v2 1/2 Docs/admin-guide/mm/damon/reclaim: improve grammar and style
Fix upper case. Fix tenses. Replace 'set as' with 'set to'. Add space after sentence to make it double space.
---
@ -113,8 +113,8
Choose as you wish.
@ 20
should be:
-Free Pages Reporting [3]_ based
+Free pages reporting [3]_ based
or
+'*Free Pages Reporting'* [3]_ based
* the right kind of quoting/ kernel-doc highlighting. Choose as you wish.
--- .../admin-guide/mm/damon/reclaim.rst | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-)
Documentation/admin-guide/mm/damon/reclaim.rst +18 -18
@@ -4,7 +4,7 @@ DAMON-based Reclamation ======================= -DAMON-based Reclamation (DAMON_RECLAIM) is a static kernel module that aimed to +DAMON-based reclamation (DAMON_RECLAIM) is a static kernel module that aimes to be used for proactive and lightweight reclamation under light memory pressure. It doesn't aim to replace the LRU-list based page_granularity reclamation, but to be selectively used for different level of memory pressure and requirements.
@@ -30,12 +30,12 @@ guests could mitigate this problem. How It Works? ============= -DAMON_RECLAIM finds memory regions that didn't accessed for specific time +DAMON_RECLAIM finds memory regions that weren't accessed for specific time duration and page out. To avoid it consuming too much CPU for the paging out operation, a speed limit can be configured. Under the speed limit, it pages -out memory regions that didn't accessed longer time first. System +out memory regions that weren't accessed longer time first. System administrators can also configure under what situation this scheme should -automatically activated and deactivated with three memory pressure watermarks. +automatically be activated and deactivated with three memory pressure watermarks. Interface: Module Parameters ============================
@@ -55,10 +55,10 @@ enabled Enable or disable DAMON_RECLAIM. -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 +You can enable DAMON_RECLAIM by setting the value of this parameter to ``Y``. +Setting it to ``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. +condition. Refer to below descriptions of the watermarks parameter for this. commit_inputs -------------
@@ -66,9 +66,9 @@ commit_inputs Make DAMON_RECLAIM reads the input parameters again, except ``enabled``. Input parameters that updated while DAMON_RECLAIM is running are not applied -by default. Once this parameter is set as ``Y``, DAMON_RECLAIM reads values +by default. Once this parameter is set to ``Y``, DAMON_RECLAIM reads values of parameters except ``enabled`` again. Once the re-reading is done, this -parameter is set as ``N``. If invalid parameters are found while the +parameter is set to ``N``. If invalid parameters are found while the re-reading, DAMON_RECLAIM will be disabled. Once ``Y`` is written to this parameter, the user must not write to any
@@ -88,7 +88,7 @@ identifies the region as cold, and reclaims it. autotune_monitoring_intervals ----------------------------- -If this parameter is set as ``Y``, DAMON_RECLAIM automatically tunes DAMON's +If this parameter is set to ``Y``, DAMON_RECLAIM automatically tunes DAMON's sampling and aggregation intervals. The auto-tuning aims to capture meaningful amount of access events in each DAMON-snapshot, while keeping the sampling interval 5 milliseconds in minimum, and 10 seconds in maximum. Setting this as
@@ -113,10 +113,10 @@ quota_sz Limit of size of memory for the reclamation in bytes. -DAMON_RECLAIM charges amount of memory which it tried to reclaim within a time -window (quota_reset_interval_ms) and makes no more than this limit is tried. -This can be used for limiting consumption of CPU and IO. If this value is -zero, the limit is disabled. +DAMON_RECLAIM records the amount of memory which it tried to reclaim within a time +window (quota_reset_interval_ms) and stops trying to reclaim memory when this limit +is reached. This can be used for limiting consumption of CPU and IO. If this value +is zero, the limit is disabled. 128 MiB by default.
@@ -137,7 +137,7 @@ quota_mem_pressure_us Desired level of memory pressure-stall time in microseconds. -While keeping the caps that set by other quotas, DAMON_RECLAIM automatically +While keeping the caps that are set by other quotas, DAMON_RECLAIM automatically increases and decreases the effective level of the quota aiming this level of memory pressure is incurred. System-wide ``some`` memory PSI in microseconds per quota reset interval (``quota_reset_interval_ms``) is collected and
@@ -219,7 +219,7 @@ monitoring. This can be used to set lower-bound of the monitoring quality. But, setting this too high could result in increased monitoring overhead. Please refer to the DAMON documentation (:doc:`usage`) for more detail. -Note that this must be 3 or higher. Please refer to the :ref:`Monitoring +Note that this must be 3 or higher. Please refer to the :ref:`Monitoring <damon_design_monitoring>` section of the design document for the rationale behind this lower bound.
@@ -263,7 +263,7 @@ This parameter is for setting and getting the :ref:`address unit ``monitor_region_start`` and ``monitor_region_end`` should be provided in this unit. For example, let's suppose ``addr_unit``, ``monitor_region_start`` and -``monitor_region_end`` are set as ``1024``, ``0`` and ``10``, respectively. +``monitor_region_end`` are set to ``1024``, ``0`` and ``10``, respectively. Then DAMON_RECLAIM will work for 10 KiB length of physical address range that starts from address zero (``[0 * 1024, 10 * 1024)`` in bytes).
@@ -280,7 +280,7 @@ skip_anon Skip anonymous pages reclamation. -If this parameter is set as ``Y``, DAMON_RECLAIM does not reclaim anonymous +If this parameter is set to ``Y``, DAMON_RECLAIM does not reclaim anonymous pages. By default, ``N``.
Signature · 1 line
2.55.0
SJ Park
maintainerRe: [PATCH v2 1/2] Docs/admin-guide/mm/damon/reclaim: improve grammar and style
Quoted 25 lines · On Tue, 27 Oct 2026 20:05:04 +0100 Manuel Ebner <[email protected]>…
Fix upper case. Fix tenses. Replace 'set as' with 'set to'. Add space after sentence to make it double space.
Signed-off-by Manuel Ebner <[email protected]>CC Aveline Noir <[email protected]>---
@ -113,8 +113,8
Choose as you wish.@ 20
should be:(quoted diff) +1
-1-Free Pages Reporting [3]_ based +Free pages reporting [3]_ basedor
+'*Free Pages Reporting'* [3]_ based
* the right kind of quoting/ kernel-doc highlighting. Choose as you wish.--- .../admin-guide/mm/damon/reclaim.rst | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-)Documentation/admin-guide/mm/damon/reclaim.rst +0
-0
[...]
Documentation/admin-guide/mm/damon/reclaim.rst guests could mitigate this problem. · line 38
Quoted 13 lines
Documentation/admin-guide/mm/damon/reclaim.rst +3
-3@@ -30,12 +30,12 @@ guests could mitigate this problem. How It Works? ============= -DAMON_RECLAIM finds memory regions that didn't accessed for specific time +DAMON_RECLAIM finds memory regions that weren't accessed for specific time duration and page out. To avoid it consuming too much CPU for the paging out operation, a speed limit can be configured. Under the speed limit, it pages -out memory regions that didn't accessed longer time first. System +out memory regions that weren't accessed longer time first. System administrators can also configure under what situation this scheme should -automatically activated and deactivated with three memory pressure watermarks. +automatically be activated and deactivated with three memory pressure watermarks.
Let's keep 80 columns limit. Same for below.
[...]
Documentation/admin-guide/mm/damon/reclaim.rst quota_sz · line 116
Quoted 9 lines
Documentation/admin-guide/mm/damon/reclaim.rst +1
-4@@ -113,10 +113,10 @@ quota_sz Limit of size of memory for the reclamation in bytes. -DAMON_RECLAIM charges amount of memory which it tried to reclaim within a time -window (quota_reset_interval_ms) and makes no more than this limit is tried. -This can be used for limiting consumption of CPU and IO. If this value is -zero, the limit is disabled. +DAMON_RECLAIM records the amount of memory which it tried to reclaim within a time
Didn't we agree to keep use "charge" ?
Other than the above two things, looks good to me.
Thanks,
SJ
[...]
Re: [PATCH v2 1/2] Docs/admin-guide/mm/damon/reclaim: improve grammar and style
Hi SJ,
Quoted 10 lines · SJ Park
Quoted 8 lines · On Tue, 27 Oct 2026 20:05:04 +0100 Manuel Ebner <[email protected]>…
Fix upper case. Fix tenses. Replace 'set as' with 'set to'. Add space after sentence to make it double space.
Signed-off-by Manuel Ebner <[email protected]>CC Aveline Noir <[email protected]>---
@ -113,8 +113,8
Choose as you wish.
I will refer to this below.
Quoted 18 lines
Quoted 17 lines
@ 20
should be:(quoted diff) +1
-1-Free Pages Reporting [3]_ based +Free pages reporting [3]_ basedor
+'*Free Pages Reporting'* [3]_ based
* the right kind of quoting/ kernel-doc highlighting.
Choose as you wish.
---
.../admin-guide/mm/damon/reclaim.rst | 36 +++++++++----------1 file changed, 18 insertions(+), 18 deletions(-)Documentation/admin-guide/mm/damon/reclaim.rst +0
-0[...]
Quoted 15 lines
Documentation/admin-guide/mm/damon/reclaim.rst guests could mitigate this problem. · line 38
Quoted 13 lines
Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -30,12 +30,12 @@ guests could mitigate this problem.How It Works?
=============Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-DAMON_RECLAIM finds memory regions that didn't accessed for specific time +DAMON_RECLAIM finds memory regions that weren't accessed for specific timeduration and page out. To avoid it consuming too much CPU for the paging out operation, a speed limit can be configured. Under the speed limit, it pages
Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-out memory regions that didn't accessed longer time first. System +out memory regions that weren't accessed longer time first. Systemadministrators can also configure under what situation this scheme should
Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-automatically activated and deactivated with three memory pressure watermarks. +automatically be activated and deactivated with three memory pressure watermarks.Let's keep 80 columns limit. Same for below.
Okay.
Quoted 12 lines
[...]
Documentation/admin-guide/mm/damon/reclaim.rst quota_sz · line 116
Quoted 9 lines
Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -113,10 +113,10 @@ quota_sz
Limit of size of memory for the reclamation in bytes.Documentation/admin-guide/mm/damon/reclaim.rst +1
-4-DAMON_RECLAIM charges amount of memory which it tried to reclaim within a time -window (quota_reset_interval_ms) and makes no more than this limit is tried. -This can be used for limiting consumption of CPU and IO. If this value is -zero, the limit is disabled. +DAMON_RECLAIM records the amount of memory which it tried to reclaim within a timeDidn't we agree to keep use "charge" ?
I thought we agreed to "records' but I sensed a misunderstanding. That's why I wrote
Quoted 2 lines
Quoted 2 lines
@ -113,8 +113,8
Choose as you wish.
above. Should i have been more explicit?
Thanks
Manuel
Quoted 8 lines
Other than the above two things, looks good to me.
Thanks,
SJ[...]
SJ Park
maintainerRe: [PATCH v2 1/2] Docs/admin-guide/mm/damon/reclaim: improve grammar and style
Quoted 65 lines · On Wed, 28 Oct 2026 17:52:01 +0100 Manuel Ebner <[email protected]>…
Hi SJ,
Quoted 10 lines · SJ Park
Quoted 8 lines · On Tue, 27 Oct 2026 20:05:04 +0100 Manuel Ebner <[email protected]>…
Fix upper case. Fix tenses. Replace 'set as' with 'set to'. Add space after sentence to make it double space.
Signed-off-by Manuel Ebner <[email protected]>CC Aveline Noir <[email protected]>---
@ -113,8 +113,8
Choose as you wish.I will refer to this below.
Quoted 18 lines
Quoted 17 lines
@ 20
should be:(quoted diff) +1
-1-Free Pages Reporting [3]_ based +Free pages reporting [3]_ basedor
+'*Free Pages Reporting'* [3]_ based
* the right kind of quoting/ kernel-doc highlighting.
Choose as you wish.
---
.../admin-guide/mm/damon/reclaim.rst | 36 +++++++++----------1 file changed, 18 insertions(+), 18 deletions(-)Documentation/admin-guide/mm/damon/reclaim.rst +0
-0[...]
Quoted 15 lines
Documentation/admin-guide/mm/damon/reclaim.rst guests could mitigate this problem. · line 38
Quoted 13 lines
Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -30,12 +30,12 @@ guests could mitigate this problem.How It Works?
=============Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-DAMON_RECLAIM finds memory regions that didn't accessed for specific time +DAMON_RECLAIM finds memory regions that weren't accessed for specific timeduration and page out. To avoid it consuming too much CPU for the paging out operation, a speed limit can be configured. Under the speed limit, it pages
Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-out memory regions that didn't accessed longer time first. System +out memory regions that weren't accessed longer time first. Systemadministrators can also configure under what situation this scheme should
Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-automatically activated and deactivated with three memory pressure watermarks. +automatically be activated and deactivated with three memory pressure watermarks.Let's keep 80 columns limit. Same for below.
Okay.
Quoted 12 lines
[...]
Documentation/admin-guide/mm/damon/reclaim.rst quota_sz · line 116
Quoted 9 lines
Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -113,10 +113,10 @@ quota_sz
Limit of size of memory for the reclamation in bytes.Documentation/admin-guide/mm/damon/reclaim.rst +1
-4-DAMON_RECLAIM charges amount of memory which it tried to reclaim within a time -window (quota_reset_interval_ms) and makes no more than this limit is tried. -This can be used for limiting consumption of CPU and IO. If this value is -zero, the limit is disabled. +DAMON_RECLAIM records the amount of memory which it tried to reclaim within a timeDidn't we agree to keep use "charge" ?
Quoted 4 lines
I thought we agreed to "records' but I sensed a misunderstanding. That's why I wrote
Quoted 2 lines
Quoted 2 lines
@ -113,8 +113,8
Choose as you wish.above. Should i have been more explicit?
Sorry, my bio memory easily be stale.
Anyway, my impression was that we agreed 'charge' is not really difficult term and therefore keep using it. Maybe you were saying that only for the paragraph we discussed about if the term should be explicitly explained.
If you don't mind, I'd prefer keep using 'charge' here for consistency. What do you think?
Thanks,
SJ
[...]
PATCH v2 2/2 Docs/admin-guide/mm/damon/reclaim: rewrite complex parts
In reply to Manuel EbnerRewrite and refine complex sentences.
--- Documentation/admin-guide/mm/damon/reclaim.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Documentation/admin-guide/mm/damon/reclaim.rst +8 -7
@@ -30,12 +30,13 @@ guests could mitigate this problem. How It Works? ============= -DAMON_RECLAIM finds memory regions that weren't accessed for specific time -duration and page out. To avoid it consuming too much CPU for the paging out -operation, a speed limit can be configured. Under the speed limit, it pages -out memory regions that weren't accessed longer time first. System -administrators can also configure under what situation this scheme should -automatically be activated and deactivated with three memory pressure watermarks. +DAMON_RECLAIM identifies memory regions that have not been accessed for a +specified period and attempts to pages out those. To avoid it consuming +too much CPU for the paging out operation, a speed limit can be configured. +Within the configured speed limit, it prioritizes regions that have been +idle longer for reclamation. System administrators can also configure under +what situation this scheme should automatically be activated and deactivated +with three memory pressure watermarks. Interface: Module Parameters ============================
@@ -137,7 +138,7 @@ quota_mem_pressure_us Desired level of memory pressure-stall time in microseconds. -While keeping the caps that are set by other quotas, DAMON_RECLAIM automatically +While respecting the limits imposed by other quotas, DAMON_RECLAIM automatically increases and decreases the effective level of the quota aiming this level of memory pressure is incurred. System-wide ``some`` memory PSI in microseconds per quota reset interval (``quota_reset_interval_ms``) is collected and
Signature · 1 line
2.55.0
SJ Park
maintainerRe: [PATCH v2 2/2] Docs/admin-guide/mm/damon/reclaim: rewrite complex parts
Hello Manuel,
Seems you sent a new version [1] of this? I will skip reviewing this.
[1] https://lore.kernel.org/[email protected]
Thanks,
SJ
[...]
PATCH v2 2/2 Docs/admin-guide/mm/damon/reclaim: rewrite complex parts
In reply to Manuel EbnerRewrite complex sentences.
---
Two more minor changes
@ 31
/s/attempts to pages out those/attempts to page out those/ @ 126
+ 'is' to fix grammar
.../admin-guide/mm/damon/reclaim.rst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)
Documentation/admin-guide/mm/damon/reclaim.rst +10 -9
@@ -30,12 +30,13 @@ guests could mitigate this problem. How It Works? ============= -DAMON_RECLAIM finds memory regions that weren't accessed for specific time -duration and page out. To avoid it consuming too much CPU for the paging out -operation, a speed limit can be configured. Under the speed limit, it pages -out memory regions that weren't accessed longer time first. System -administrators can also configure under what situation this scheme should -automatically be activated and deactivated with three memory pressure watermarks. +DAMON_RECLAIM identifies memory regions that have not been accessed for a +specified period and attempts to page out those. To avoid it consuming +too much CPU for the paging out operation, a speed limit can be configured. +Within the configured speed limit, it prioritizes regions that have been +idle longer for reclamation. System administrators can also configure under +what situation this scheme should automatically be activated and deactivated +with three memory pressure watermarks. Interface: Module Parameters ============================
@@ -125,8 +126,8 @@ quota_reset_interval_ms The time/size quota charge reset interval in milliseconds. -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 +The charge reset interval for the quota of time is quota_ms and for the quota of +size is 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.
@@ -137,7 +138,7 @@ quota_mem_pressure_us Desired level of memory pressure-stall time in microseconds. -While keeping the caps that are set by other quotas, DAMON_RECLAIM automatically +While respecting the limits imposed by other quotas, DAMON_RECLAIM automatically increases and decreases the effective level of the quota aiming this level of memory pressure is incurred. System-wide ``some`` memory PSI in microseconds per quota reset interval (``quota_reset_interval_ms``) is collected and
Signature · 1 line
2.55.0
SJ Park
maintainerRe: [PATCH v2 2/2] Docs/admin-guide/mm/damon/reclaim: rewrite complex parts
Hello Manuel,
Quoted 1 line · On Tue, 27 Oct 2026 22:23:46 +0100 Manuel Ebner <[email protected]>…
Rewrite complex sentences.
Any special reason to keep this as a separated one? I think it is ok to merge this into the first patch.
Quoted 38 lines
Signed-off-by Manuel Ebner <[email protected]>Suggested-by Aveline Noir <[email protected]>---
Two more minor changes
@ 31
/s/attempts to pages out those/attempts to page out those/ @ 126
+ 'is' to fix grammar.../admin-guide/mm/damon/reclaim.rst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)Documentation/admin-guide/mm/damon/reclaim.rst +7
-6@@ -30,12 +30,13 @@ guests could mitigate this problem. How It Works? ============= -DAMON_RECLAIM finds memory regions that weren't accessed for specific time -duration and page out. To avoid it consuming too much CPU for the paging out -operation, a speed limit can be configured. Under the speed limit, it pages -out memory regions that weren't accessed longer time first. System -administrators can also configure under what situation this scheme should -automatically be activated and deactivated with three memory pressure watermarks. +DAMON_RECLAIM identifies memory regions that have not been accessed for a +specified period and attempts to page out those. To avoid it consuming +too much CPU for the paging out operation, a speed limit can be configured. +Within the configured speed limit, it prioritizes regions that have been +idle longer for reclamation. System administrators can also configure under +what situation this scheme should automatically be activated and deactivated +with three memory pressure watermarks. Interface: Module Parameters ============================
Documentation/admin-guide/mm/damon/reclaim.rst quota_reset_interval_ms · line 132
Quoted 9 lines
Documentation/admin-guide/mm/damon/reclaim.rst +2
-2@@ -125,8 +126,8 @@ quota_reset_interval_ms The time/size quota charge reset interval in milliseconds. -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 +The charge reset interval for the quota of time is quota_ms and for the quota of +size is 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.
I think the original sentence was not that confusing. Also, this changes the nuance of the sentence? What the sentence is saying is "quota_reset_interval_ms is the charge reset interval for ...". If this was really confusing, maybe we can add "quota_reset_interval_ms is " part.
But, I start feeling we might trying too much polishing...?
Documentation/admin-guide/mm/damon/reclaim.rst quota_mem_pressure_us · line 144
Quoted 10 lines
Documentation/admin-guide/mm/damon/reclaim.rst +1
-1@@ -137,7 +138,7 @@ quota_mem_pressure_us Desired level of memory pressure-stall time in microseconds. -While keeping the caps that are set by other quotas, DAMON_RECLAIM automatically +While respecting the limits imposed by other quotas, DAMON_RECLAIM automatically increases and decreases the effective level of the quota aiming this level of memory pressure is incurred. System-wide ``some`` memory PSI in microseconds per quota reset interval (``quota_reset_interval_ms``) is collected and
I'm not sure if the original sentence was really difficult to understand.
I'd prefer dropping this change.
Thanks,
SJ
[...]
Re: [PATCH v2 2/2] Docs/admin-guide/mm/damon/reclaim: rewrite complex parts
Hi SJ,
Quoted 9 lines · SJ Park
Hello Manuel,
Quoted 1 line · On Tue, 27 Oct 2026 22:23:46 +0100 Manuel Ebner <[email protected]>…
Rewrite complex sentences.
Any special reason to keep this as a separated one? I think it is ok to merge this into the first patch.
In this mail ( https://lore.kernel.org/all/[email protected]/ )
Quoted 1 line
Let's do such rewriting with another patch.
I understood this as 'make it two patches'.
Quoted 52 lines
Quoted 44 lines
Signed-off-by Manuel Ebner <[email protected]>Suggested-by Aveline Noir <[email protected]>---
Two more minor changes
@ 31
/s/attempts to pages out those/attempts to page out those/ @ 126
+ 'is' to fix grammar.../admin-guide/mm/damon/reclaim.rst | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -30,12 +30,13 @@ guests could mitigate this problem.How It Works?
=============Documentation/admin-guide/mm/damon/reclaim.rst +7
-6-DAMON_RECLAIM finds memory regions that weren't accessed for specific time -duration and page out. To avoid it consuming too much CPU for the paging out -operation, a speed limit can be configured. Under the speed limit, it pages -out memory regions that weren't accessed longer time first. System -administrators can also configure under what situation this scheme should -automatically be activated and deactivated with three memory pressure watermarks. +DAMON_RECLAIM identifies memory regions that have not been accessed for a +specified period and attempts to page out those. To avoid it consuming +too much CPU for the paging out operation, a speed limit can be configured. +Within the configured speed limit, it prioritizes regions that have been +idle longer for reclamation. System administrators can also configure under +what situation this scheme should automatically be activated and deactivated +with three memory pressure watermarks.
Interface: Module Parameters
============================Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -125,8 +126,8 @@ quota_reset_interval_ms
The time/size quota charge reset interval in milliseconds.Documentation/admin-guide/mm/damon/reclaim.rst +2
-2-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 +The charge reset interval for the quota of time is quota_ms and for the quota of +size is quota_sz. That is, DAMON_RECLAIM does not try reclamation for more thanQuoted 2 lines
quota_ms milliseconds or
quota_szbytes withinquota_reset_interval_msmilliseconds.I think the original sentence was not that confusing. Also, this changes the nuance of the sentence? What the sentence is saying is "
quota_reset_interval_msis the charge reset interval for ...". If this was really confusing, maybe we can add "quota_reset_interval_msis " part.
Quoted 1 line
But, I start feeling we might trying too much polishing...?
I think the verb is missing or can you tell which the verb is? If you can no fix is required.
Quoted 14 lines
Quoted 11 lines
Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -137,7 +138,7 @@ quota_mem_pressure_us
Desired level of memory pressure-stall time in microseconds.Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-While keeping the caps that are set by other quotas, DAMON_RECLAIM automatically +While respecting the limits imposed by other quotas, DAMON_RECLAIM automaticallyincreases and decreases the effective level of the quota aiming this level of memory pressure is incurred. System-wide ``some`` memory PSI in microseconds per quota reset interval (``quota_reset_interval_ms``) is collected and
I'm not sure if the original sentence was really difficult to understand.
Quoted 1 line
I'd prefer dropping this change.
That's ok.
Will you handle the final edit or should I send a [v3]?
Thanks
Manuel
Quoted 6 lines
Thanks,
SJ[...]
SJ Park
maintainerRe: [PATCH v2 2/2] Docs/admin-guide/mm/damon/reclaim: rewrite complex parts
Quoted 10 lines · On Wed, 28 Oct 2026 17:52:17 +0100 Manuel Ebner <[email protected]>…
Hi SJ,
Quoted 7 lines · SJ Park
Hello Manuel,
Quoted 1 line · On Tue, 27 Oct 2026 22:23:46 +0100 Manuel Ebner <[email protected]>…
Rewrite complex sentences.
Quoted 7 lines
Quoted 2 lines
Any special reason to keep this as a separated one? I think it is ok to merge this into the first patch.
In this mail ( https://lore.kernel.org/all/[email protected]/ )
Quoted 1 line
Let's do such rewriting with another patch.
I understood this as 'make it two patches'.
Thank you for reminding me the memory. I now remember I thought it is better to be a separate patch. And now I realize I was wrong. Now I think realize this is small enough change that can be collapsed into one patch. Sorry for changing my words.
[...]
Quoted 16 lines
Quoted 16 lines
Quoted 10 lines
(quoted diff) +0
-0@@ -125,8 +126,8 @@ quota_reset_interval_ms
The time/size quota charge reset interval in milliseconds.Documentation/admin-guide/mm/damon/reclaim.rst +2
-2-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 +The charge reset interval for the quota of time is quota_ms and for the quota of +size is quota_sz. That is, DAMON_RECLAIM does not try reclamation for more thanquota_ms milliseconds or
quota_szbytes withinquota_reset_interval_msmilliseconds.I think the original sentence was not that confusing. Also, this changes the nuance of the sentence? What the sentence is saying is "
quota_reset_interval_msis the charge reset interval for ...". If this was really confusing, maybe we can add "quota_reset_interval_msis " part.
Quoted 4 lines
Quoted 1 line
But, I start feeling we might trying too much polishing...?
I think the verb is missing or can you tell which the verb is? If you can no fix is required.
I mean, changing only the first sentence, like below:
"quota_reset_interval_ms is the charge reset interval for the quota of time (quota_ms) ans size (quota_sz)."
Quoted 15 lines
Quoted 15 lines
Quoted 9 lines
(quoted diff) +0
-0@@ -137,7 +138,7 @@ quota_mem_pressure_us
Desired level of memory pressure-stall time in microseconds.Documentation/admin-guide/mm/damon/reclaim.rst +1
-1-While keeping the caps that are set by other quotas, DAMON_RECLAIM automatically +While respecting the limits imposed by other quotas, DAMON_RECLAIM automaticallyQuoted 3 lines
increases and decreases the effective level of the quota aiming this level of memory pressure is incurred. System-wide ``some`` memory PSI in microseconds per quota reset interval (``quota_reset_interval_ms``) is collected and
I'm not sure if the original sentence was really difficult to understand.
Quoted 3 lines
Quoted 1 line
I'd prefer dropping this change.
That's ok.
Thank you for accepting my humble suggestion.
Quoted 2 lines
Will you handle the final edit or should I send a [v3]?
Could you please send v3?
Thanks,
SJ
[...]