From: SJ Park <sj@kernel.org>
To: Manuel Ebner <manuelebnerli@mailbox.org>
Cc: SJ Park <sj@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
David Hildenbrand <david@kernel.org>,
Lorenzo Stoakes <ljs@kernel.org>,
"Liam R. Howlett" <liam@infradead.org>,
Vlastimil Babka <vbabka@kernel.org>,
Mike Rapoport <rppt@kernel.org>,
Suren Baghdasaryan <surenb@google.com>,
Michal Hocko <mhocko@suse.com>, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
damon@lists.linux.dev, linux-mm@kvack.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Docs/admin-guide/mm/damon/lru_sort: fix grammar and stlye
Date: Wed, 14 Oct 2026 06:52:38 -0700 [thread overview]
Message-ID: <20261014135239.3596-1-sj@kernel.org> (raw)
In-Reply-To: <dfa05908286b5e5684ea0002dde1ee99627154a4.camel@mailbox.org>
On Wed, 14 Oct 2026 14:34:51 +0200 Manuel Ebner <manuelebnerli@mailbox.org> wrote:
> Hi SJ,
>
> On Tue, 2026-10-13 at 17:32 -0700, SJ Park wrote:
> > Hi Manuel,
> >
> > On Tue, 13 Oct 2026 21:13:27 +0200 Manuel Ebner <manuelebnerli@mailbox.org> wrote:
> >
> > > mention 'least-recently-used' AKA lru at the beginning
> >
> > I think the readers would know what LRU means, and therefore
> > 'least-recently-used' is not needed.
>
> I'm probably one of the few that doesn't know. I didn't think of the whole picture.
> You are right.
Thank you for accepting my humble suggestion.
[...]
> > > @@ -17,7 +18,7 @@ systems, LRU lists are normally not proactively sorted but partially and
> > > As page-granularity access checking overhead could be significant on huge
>
> Is this huge as in big or huge pages. For the latter I would put it: ``huge page``-systems
> or `huge page`-systems.
It is the former case. "huge" as in big.
>
> > > systems, LRU lists are normally not proactively sorted but partially and
> > > reactively sorted for special events including specific user requests, system
> > > calls and memory pressure. As a result, LRU lists are sometimes not so
> > > perfectly prepared to be used as a trustworthy access pattern source for some
> > > -situations including reclamation target pages selection under sudden memory
> > > +situations including reclamation of target pages selection under sudden memory
> > > pressure.
> >
> > I cannot find what's wrong with the original sentence. Could you expalin?
> > Also, I think the updated sentence is rather easier to misread.
>
> It's two long sentences, thus (I think) hard to understand. I _rewrote_ it this way:
>
> As page-granularity access checking overhead could be significant on huge systems,
> LRU lists are normally not fully nor proactively sorted but rather partially
> and reactively sorted for special events. These events include specific user requests,
> system calls and memory pressure. As a result, LRU lists are sometimes not
> suitable to be used as a trustworthy access pattern source. These situations
> including reclamation target page selection under sudden memory pressure.
I agree it is too long. I like your suggestion, thank you. Please ensure to
put two spaces between sentences, though. The last sentence has only single
space after its former sentence.
[...]
> > > -DAMON_LRU_SORT finds hot pages (pages of memory regions that showing access
> > > +DAMON_LRU_SORT finds hot pages (pages of memory regions that show access
> > > rates that higher than a user-specified threshold) and cold pages (pages of
> >
> > rates that "are" higher?
> ... that show access rates that are higher ...
> and
>
> >
> > > -memory regions that showing no access for a time that longer than a
> > > +memory regions that show no access for a time that longer than a
>
> ... show no access for a duration that is longer than a
>
> Then ack.
Looks good to me. Thank you for the nice suggestion.
[...]
> > > -Desired active to [in]active memory ratio in bp (1/10,000).
> > > +Desired active to (in)active memory ratio in bp (1/10,000).
> >
> > I think use of brackets is also fine. Let me know if I'm missing something.
>
> There is 2x (de)prioritization, 6x [de]prioritizations, 2x[in]active and a few more in the
> file. They are all fine by themself, but not mixed. [] or ()?
That makes sense. I agree consistency matters. Let's use (). Also please
don't forget explaining the rationale of the change on the commit message.
Thanks,
SJ
[...]
prev parent reply other threads:[~2026-10-14 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 19:13 [PATCH] Docs/admin-guide/mm/damon/lru_sort: fix grammar and stlye Manuel Ebner
2026-10-14 0:32 ` SJ Park
2026-10-14 12:34 ` Manuel Ebner
2026-10-14 13:52 ` SJ Park [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261014135239.3596-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=corbet@lwn.net \
--cc=damon@lists.linux.dev \
--cc=david@kernel.org \
--cc=liam@infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ljs@kernel.org \
--cc=manuelebnerli@mailbox.org \
--cc=mhocko@suse.com \
--cc=rdunlap@infradead.org \
--cc=rppt@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=surenb@google.com \
--cc=vbabka@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.