From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,sj@kernel.org,lienze@kylinos.cn,rgbi3307@gmail.com,akpm@linux-foundation.org
Subject: [merged mm-stable] mm-damon-stat-deduplicate-intervals_goal-setup-in-damon_stat_build_ctx.patch removed from -mm tree
Date: Tue, 20 Jan 2026 19:28:01 -0800 [thread overview]
Message-ID: <20260121032802.45907C16AAE@smtp.kernel.org> (raw)
The quilt patch titled
Subject: mm/damon/stat: deduplicate intervals_goal setup in damon_stat_build_ctx()
has been removed from the -mm tree. Its filename was
mm-damon-stat-deduplicate-intervals_goal-setup-in-damon_stat_build_ctx.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: JaeJoon Jung <rgbi3307@gmail.com>
Subject: mm/damon/stat: deduplicate intervals_goal setup in damon_stat_build_ctx()
Date: Mon, 15 Dec 2025 23:34:38 -0800
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.
Link: https://patch.msgid.link/20251206011716.7185-1-rgbi3307@gmail.com
Link: https://lkml.kernel.org/r/20251216073440.40891-1-sj@kernel.org
Signed-off-by: JaeJoon Jung <rgbi3307@gmail.com>
Reviewed-by: Enze Li <lienze@kylinos.cn>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/damon/stat.c | 8 --------
1 file changed, 8 deletions(-)
--- a/mm/damon/stat.c~mm-damon-stat-deduplicate-intervals_goal-setup-in-damon_stat_build_ctx
+++ a/mm/damon/stat.c
@@ -173,14 +173,6 @@ static struct damon_ctx *damon_stat_buil
if (damon_set_attrs(ctx, &attrs))
goto free_out;
- /*
- * auto-tune sampling and aggregation interval aiming 4% DAMON-observed
- * accesses ratio, keeping sampling interval in [5ms, 10s] range.
- */
- ctx->attrs.intervals_goal = (struct damon_intervals_goal) {
- .access_bp = 400, .aggrs = 3,
- .min_sample_us = 5000, .max_sample_us = 10000000,
- };
if (damon_select_ops(ctx, DAMON_OPS_PADDR))
goto free_out;
_
Patches currently in -mm which might be from rgbi3307@gmail.com are
reply other threads:[~2026-01-21 3:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260121032802.45907C16AAE@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=lienze@kylinos.cn \
--cc=mm-commits@vger.kernel.org \
--cc=rgbi3307@gmail.com \
--cc=sj@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.