All of lore.kernel.org
 help / color / mirror / Atom feed
From: SJ Park <sj@kernel.org>
To: Aveline Noir <jm5905938@gmail.com>
Cc: SJ Park <sj@kernel.org>,
	linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	damon@lists.linux.dev, linux-mm@kvack.org
Subject: Re: [PATCH] mm/damon/core: preserve deadlines when tuned intervals are unchanged
Date: Fri,  4 Dec 2026 07:25:38 -0800	[thread overview]
Message-ID: <20261204152539.582522-1-sj@kernel.org> (raw)
In-Reply-To: <20261204-damon-preserve-tuning-deadlines-v1-1-fc3aca86a76f@gmail.com>

On Fri, 04 Dec 2026 04:47:59 +1100 Aveline Noir <jm5905938@gmail.com> wrote:

> kdamond_tune_intervals() calls damon_set_attrs() even when clamping or
> rounding leaves the sampling and aggregation intervals unchanged. This
> restarts the ops update and DAMOS apply deadlines. Repeated same-value
> tuning can keep deferring longer update and apply intervals.
> 
> Return early when both intervals are unchanged.

Makes sense to me.

> 
> Fixes: f04b0fedbe71 ("mm/damon/core: implement intervals auto-tuning")
> Signed-off-by: Aveline Noir <jm5905938@gmail.com>

Reviewed-by: SJ Park <sj@kernel.org>

This patch is applied to damon/next [1] tree.  I will repost it soon (~1 week)
as an mm.git merge request.  So, no action from your side is needed for now.

[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees


Thanks,
SJ

[...]

      parent reply	other threads:[~2026-12-04 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 17:47 [PATCH] mm/damon/core: preserve deadlines when tuned intervals are unchanged Aveline Noir
2026-12-04  7:16 ` sashiko-bot
2026-12-04  7:57 ` Enze Li
2026-12-04 15:25 ` 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=20261204152539.582522-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=damon@lists.linux.dev \
    --cc=jm5905938@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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.