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

From: SeongJae Park

Date: Sun May 24 2026 - 14:43:33 EST


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

> Hi,
>
> On Sun, May 24, 2026 at 02:49:21PM +0200, mattsva wrote:
> >Signed-off-by: mattsva <mattsva.kernel@xxxxxxxxx>
>
> 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@xxxxxxxxxx

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

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

[...]