From: SeongJae Park <sj@kernel.org>
To: Enze Li <lienze@kylinos.cn>
Cc: SeongJae Park <sj@kernel.org>, JaeJoon Jung <rgbi3307@gmail.com>,
damon@lists.linux.dev, linux-mm@kvack.org, enze.li@gmx.com
Subject: Re: [PATCH v3] mm/damon/stat: deduplicate intervals_goal setup in damon_stat_build_ctx()
Date: Sat, 6 Dec 2025 06:52:21 -0800 [thread overview]
Message-ID: <20251206145222.6302-1-sj@kernel.org> (raw)
In-Reply-To: <924cfaa0-ad83-4d68-a6da-c1e8537b3232@kylinos.cn>
On Sat, 6 Dec 2025 15:58:45 +0800 Enze Li <lienze@kylinos.cn> wrote:
> On 2025/12/6 12:17, JaeJoon Jung wrote:
> > On Sat, 6 Dec 2025 at 10:50, SeongJae Park <sj@kernel.org> wrote:
> >>
> >> On Sat, 6 Dec 2025 10:17:13 +0900 JaeJoon Jung <rgbi3307@gmail.com> wrote:
> >>
> >>> The damon_stat_build_ctx() function sets the values of intervals_goal
> >>> structure members. These values are applied to damon_ctx in
> >>> damon_set_attrs(). However, It is resetting the values that were already
> >>> applied previously to the same values. I suggest removing this code as it
> >>> constitutes duplicate execution.
> >>>
> >>> Signed-off-by: JaeJoon Jung <rgbi3307@gmail.com>
> >>> Reviewed-by: Enze Li <lienze@kylinos.cn>
> >>
> >> I show Enze did suggest changes [1] to v2 of this patch. But I don't show Enze
> >> gave Reviewed-by: tag to the patch. Am I missing something?
> >
> > I added "Reviewed-by: Enze".
> > It is just minor commit message format suggestion.
> > Am I putting too much emphasis on this?
Reviewed-by: tags are kind of approval. Those should be offered by the
reviewer. Please refert to the doc [1] for more details.
[1] https://origin.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes
> > Should I delete "Reviewed-by: Enze"?
Because Enze offered the tag below, no change is needed.
>
> I have carefully reviewed both the commit message and the code changes
> in the patch, it looks good to me.
>
> Feel free to add,
>
> Reviewed-by: Enze Li <lienze@kylinos.cn>
Thank you for your review, Enze.
Thanks,
SJ
[...]
prev parent reply other threads:[~2025-12-06 14:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-06 1:17 JaeJoon Jung
2025-12-06 1:50 ` SeongJae Park
2025-12-06 4:17 ` JaeJoon Jung
2025-12-06 7:58 ` Enze Li
2025-12-06 14:52 ` SeongJae 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=20251206145222.6302-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=damon@lists.linux.dev \
--cc=enze.li@gmx.com \
--cc=lienze@kylinos.cn \
--cc=linux-mm@kvack.org \
--cc=rgbi3307@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox