docs/mm: fix spelling mistakes in memory management docs
Subsystems (5)
PATCH 1/1 docs/mm: fix spelling mistakes in memory management docs
--- Documentation/admin-guide/mm/damon/lru_sort.rst | 2 +- Documentation/admin-guide/mm/damon/reclaim.rst | 2 +- Documentation/admin-guide/mm/transhuge.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Documentation/admin-guide/mm/damon/lru_sort.rst +1 -1
@@ -75,7 +75,7 @@ Make DAMON_LRU_SORT reads 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 as ``Y``, DAMON_LRU_SORT reads values -of parametrs except ``enabled`` again. Once the re-reading is done, this +of parameters except ``enabled`` again. Once the re-reading is done, this parameter is set as ``N``. If invalid parameters are found while the re-reading, DAMON_LRU_SORT will be disabled.
Documentation/admin-guide/mm/damon/reclaim.rst +1 -1
@@ -67,7 +67,7 @@ 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 -of parametrs except ``enabled`` again. Once the re-reading is done, this +of parameters except ``enabled`` again. Once the re-reading is done, this parameter is set as ``N``. If invalid parameters are found while the re-reading, DAMON_RECLAIM will be disabled.
Documentation/admin-guide/mm/transhuge.rst +1 -1
@@ -210,7 +210,7 @@ PMD-mappable transparent hugepage:: cat /sys/kernel/mm/transparent_hugepage/hpage_pmd_size All THPs at fault and collapse time will be added to _deferred_list, -and will therefore be split under memory presure if they are considered +and will therefore be split under memory pressure if they are considered "underused". A THP is underused if the number of zero-filled pages in the THP is above max_ptes_none (see below). It is possible to disable this behaviour by writing 0 to shrink_underused, and enable it by writing
Signature · 1 line
2.54.0
Lance Yang
reviewerHi,
Quoted 1 line · mattsva
Signed-off-by mattsva <[email protected]>
Missing changelog ... and Signed-off-by should use your real identity, not a handle :)
checkpatch.pl is your friend, please run it next time :)
Quoted 29 lines
---
Documentation/admin-guide/mm/damon/lru_sort.rst | 2 +- Documentation/admin-guide/mm/damon/reclaim.rst | 2 +- Documentation/admin-guide/mm/transhuge.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)Documentation/admin-guide/mm/damon/lru_sort.rst +0
-0@@ -75,7 +75,7 @@ Make DAMON_LRU_SORT reads the input parameters again, except ``enabled``.Input parameters that updated while
DAMON_LRU_SORTis running are not applied by default. Once this parameter is set as ``Y``,DAMON_LRU_SORTreads valuesDocumentation/admin-guide/mm/damon/lru_sort.rst +1
-1-of parametrs except ``enabled`` again. Once the re-reading is done, this +of parameters except ``enabled`` again. Once the re-reading is done, thisparameter is set as ``N``. If invalid parameters are found while the re-reading,
DAMON_LRU_SORTwill be disabled.Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -67,7 +67,7 @@ Make DAMON_RECLAIM reads the input parameters again, except ``enabled``.Input parameters that updated while
DAMON_RECLAIMis running are not applied by default. Once this parameter is set as ``Y``,DAMON_RECLAIMreads valuesDocumentation/admin-guide/mm/damon/reclaim.rst +1
-1-of parametrs except ``enabled`` again. Once the re-reading is done, this +of parameters except ``enabled`` again. Once the re-reading is done, this
Quoted 2 lines
parameter is set as ``N``. If invalid parameters are found while the re-reading,
DAMON_RECLAIMwill be disabled.
Already fixed in mm-new:
https://lore.kernel.org/[email protected]
Documentation/admin-guide/mm/transhuge.rst PMD-mappable transparent hugepage:: · line 213
Quoted 10 lines
Documentation/admin-guide/mm/transhuge.rst +1
-1@@ -210,7 +210,7 @@ PMD-mappable transparent hugepage:: cat /sys/kernel/mm/transparent_hugepage/hpage_pmd_size All THPs at fault and collapse time will be added to _deferred_list, -and will therefore be split under memory presure if they are considered +and will therefore be split under memory pressure if they are considered
This one as well:
Quoted 4 lines
"underused". A THP is underused if the number of zero-filled pages in the THP is above
max_ptes_none(see below). It is possible to disable this behaviour by writing 0 toshrink_underused, and enable it by writing
So this patch is stale now: all three hunks are already covered in mm-new.
Thanks, Lance
SeongJae Park
maintainerQuoted 44 lines · On Sun, 24 May 2026 21:37:01 +0800 Lance Yang <[email protected]> wrote:
Hi,
Quoted 1 line · mattsva
Signed-off-by mattsva <[email protected]>Missing changelog ... and Signed-off-by should use your real identity, not a handle :)
checkpatch.pl is your friend, please run it next time :)
Quoted 29 lines
---
Documentation/admin-guide/mm/damon/lru_sort.rst | 2 +- Documentation/admin-guide/mm/damon/reclaim.rst | 2 +- Documentation/admin-guide/mm/transhuge.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)Documentation/admin-guide/mm/damon/lru_sort.rst +0
-0@@ -75,7 +75,7 @@ Make DAMON_LRU_SORT reads the input parameters again, except ``enabled``.Input parameters that updated while
DAMON_LRU_SORTis running are not applied by default. Once this parameter is set as ``Y``,DAMON_LRU_SORTreads valuesDocumentation/admin-guide/mm/damon/lru_sort.rst +1
-1-of parametrs except ``enabled`` again. Once the re-reading is done, this +of parameters except ``enabled`` again. Once the re-reading is done, thisparameter is set as ``N``. If invalid parameters are found while the re-reading,
DAMON_LRU_SORTwill be disabled.Documentation/admin-guide/mm/damon/reclaim.rst +0
-0@@ -67,7 +67,7 @@ Make DAMON_RECLAIM reads the input parameters again, except ``enabled``.Input parameters that updated while
DAMON_RECLAIMis running are not applied by default. Once this parameter is set as ``Y``,DAMON_RECLAIMreads valuesDocumentation/admin-guide/mm/damon/reclaim.rst +1
-1-of parametrs except ``enabled`` again. Once the re-reading is done, this +of parameters except ``enabled`` again. Once the re-reading is done, thisQuoted 2 lines
parameter is set as ``N``. If invalid parameters are found while the re-reading,
DAMON_RECLAIMwill be disabled.Already fixed in mm-new:
Quoted 1 line
Thank you for checking this, Lance!
I also double confirm the typos in DAMON docs are already fixed in mm.git.
Quoted 8 lines
Quoted 8 lines
Documentation/admin-guide/mm/transhuge.rst +0
-0@@ -210,7 +210,7 @@ PMD-mappable transparent hugepage:: cat /sys/kernel/mm/transparent_hugepage/hpage_pmd_size
Quoted 7 lines
Documentation/admin-guide/mm/transhuge.rst PMD-mappable transparent hugepage:: · line 213
Quoted 3 lines
Documentation/admin-guide/mm/transhuge.rst +1
-1All THPs at fault and collapse time will be added to _deferred_list, -and will therefore be split under memory presure if they are considered +and will therefore be split under memory pressure if they are consideredThis one as well:
I also double checked this. Lance is correct.
Quoted 8 lines
Quoted 5 lines
"underused". A THP is underused if the number of zero-filled pages in the THP is above
max_ptes_none(see below). It is possible to disable this behaviour by writing 0 toshrink_underused, and enable it by writingSo this patch is stale now: all three hunks are already covered in mm-new.
I agree to Lance.
Thanks,
SJ
[...]