[PATCH] docs/mm: fix spelling mistakes in memory management docs

mattsva posted 1 patch 3 hours ago
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(-)
[PATCH] docs/mm: fix spelling mistakes in memory management docs
Posted by mattsva 3 hours ago
Signed-off-by: mattsva <mattsva.kernel@gmail.com>
---
 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(-)

diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentation/admin-guide/mm/damon/lru_sort.rst
index 14cc6b2db897..25e2f042a383 100644
--- a/Documentation/admin-guide/mm/damon/lru_sort.rst
+++ b/Documentation/admin-guide/mm/damon/lru_sort.rst
@@ -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.
 
diff --git a/Documentation/admin-guide/mm/damon/reclaim.rst b/Documentation/admin-guide/mm/damon/reclaim.rst
index d7a0225b4950..01a34c215b66 100644
--- a/Documentation/admin-guide/mm/damon/reclaim.rst
+++ b/Documentation/admin-guide/mm/damon/reclaim.rst
@@ -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.
 
diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
index 5fbc3d89bb07..5d08a2a1c15f 100644
--- a/Documentation/admin-guide/mm/transhuge.rst
+++ b/Documentation/admin-guide/mm/transhuge.rst
@@ -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
-- 
2.54.0
Re: [PATCH] docs/mm: fix spelling mistakes in memory management docs
Posted by Lance Yang 3 hours ago
Hi,

On Sun, May 24, 2026 at 02:49:21PM +0200, mattsva wrote:
>Signed-off-by: mattsva <mattsva.kernel@gmail.com>

Missing changelog ... and Signed-off-by should use your real identity,
not a handle :)

checkpatch.pl is your friend, please run it next time :)

>---
> 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(-)
>
>diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentation/admin-guide/mm/damon/lru_sort.rst
>index 14cc6b2db897..25e2f042a383 100644
>--- a/Documentation/admin-guide/mm/damon/lru_sort.rst
>+++ b/Documentation/admin-guide/mm/damon/lru_sort.rst
>@@ -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.
> 
>diff --git a/Documentation/admin-guide/mm/damon/reclaim.rst b/Documentation/admin-guide/mm/damon/reclaim.rst
>index d7a0225b4950..01a34c215b66 100644
>--- a/Documentation/admin-guide/mm/damon/reclaim.rst
>+++ b/Documentation/admin-guide/mm/damon/reclaim.rst
>@@ -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.

Already fixed in mm-new:

https://lore.kernel.org/20260426231619.107231-3-sj@kernel.org

>diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
>index 5fbc3d89bb07..5d08a2a1c15f 100644
>--- a/Documentation/admin-guide/mm/transhuge.rst
>+++ b/Documentation/admin-guide/mm/transhuge.rst
>@@ -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/20260520051751.74396-1-leon.hwang@linux.dev

> "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