Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] docs/mm: fix spelling mistakes in memory management docs
@ 2026-05-24 12:49 mattsva
  2026-05-24 13:37 ` Lance Yang
  0 siblings, 1 reply; 3+ messages in thread
From: mattsva @ 2026-05-24 12:49 UTC (permalink / raw)
  To: linux-mm, linux-doc, Andrew Morton
  Cc: mattsva, SeongJae Park, David Hildenbrand, Lorenzo Stoakes,
	Liam R. Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Jonathan Corbet, Shuah Khan,
	Zi Yan, Baolin Wang, Nico Pache, Ryan Roberts, Dev Jain,
	Barry Song, Lance Yang, open list:DAMON, open list

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs/mm: fix spelling mistakes in memory management docs
  2026-05-24 12:49 [PATCH] docs/mm: fix spelling mistakes in memory management docs mattsva
@ 2026-05-24 13:37 ` Lance Yang
  2026-05-24 18:43   ` SeongJae Park
  0 siblings, 1 reply; 3+ messages in thread
From: Lance Yang @ 2026-05-24 13:37 UTC (permalink / raw)
  To: mattsva.kernel
  Cc: linux-mm, linux-doc, akpm, sj, david, ljs, liam, vbabka, rppt,
	surenb, mhocko, corbet, skhan, ziy, baolin.wang, npache,
	ryan.roberts, dev.jain, baohua, lance.yang, damon, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs/mm: fix spelling mistakes in memory management docs
  2026-05-24 13:37 ` Lance Yang
@ 2026-05-24 18:43   ` SeongJae Park
  0 siblings, 0 replies; 3+ messages in thread
From: SeongJae Park @ 2026-05-24 18:43 UTC (permalink / raw)
  To: Lance Yang
  Cc: SeongJae Park, mattsva.kernel, linux-mm, linux-doc, akpm, david,
	ljs, liam, vbabka, rppt, surenb, mhocko, corbet, skhan, ziy,
	baolin.wang, npache, ryan.roberts, dev.jain, baohua, damon,
	linux-kernel

On Sun, 24 May 2026 21:37:01 +0800 Lance Yang <lance.yang@linux.dev> wrote:

> 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

Thank you for checking this, Lance!

I also double confirm the typos in DAMON docs are already fixed in mm.git.

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

I also double checked this.  Lance is correct.

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

[...]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-24 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-24 12:49 [PATCH] docs/mm: fix spelling mistakes in memory management docs mattsva
2026-05-24 13:37 ` Lance Yang
2026-05-24 18:43   ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox