Skip to contentSkip to conversation

docs/mm: fix spelling mistakes in memory management docs

PATCH In review mattsva 3 participants 3 messages May 24

Subsystems (5)
lore
Share & tools
lore

mattsva

author
#0 lore raw

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
index 14cc6b2db897..25e2f042a383 100644
@@ -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
index d7a0225b4950..01a34c215b66 100644
@@ -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
index 5fbc3d89bb07..5d08a2a1c15f 100644
@@ -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
reviewer
#1 lore raw

Hi,

Quoted 1 line · mattsva

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
index 14cc6b2db897..25e2f042a383 100644
@@ -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

Documentation/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, 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 +0 -0
index d7a0225b4950..01a34c215b66 100644
@@ -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

Documentation/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_RECLAIM will 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
index 5fbc3d89bb07..5d08a2a1c15f 100644
@@ -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:

https://lore.kernel.org/[email protected]

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 to shrink_underused, and enable it by writing

So this patch is stale now: all three hunks are already covered in mm-new.

Thanks, Lance

maintainer
#2 lore raw
Quoted 44 lines · On Sun, 24 May 2026 21:37:01 +0800 Lance Yang <[email protected]> wrote:

Hi,

Quoted 1 line · mattsva

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
index 14cc6b2db897..25e2f042a383 100644
@@ -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

Documentation/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, 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 +0 -0
index d7a0225b4950..01a34c215b66 100644
@@ -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

Documentation/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_RECLAIM will be disabled.

Already fixed in mm-new:

Quoted 1 line

https://lore.kernel.org/[email protected]

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
index 5fbc3d89bb07..5d08a2a1c15f 100644
@@ -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 -1
 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:

https://lore.kernel.org/[email protected]

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 to shrink_underused, and enable it by writing

So this patch is stale now: all three hunks are already covered in mm-new.

I agree to Lance.

Thanks,
SJ

[...]