Re: [PATCH] mm/damon/core: preserve deadlines when tuned intervals are unchanged
From: SJ Park
Date: Fri Dec 04 2026 - 10:25:49 EST
On Fri, 04 Dec 2026 04:47:59 +1100 Aveline Noir <jm5905938@xxxxxxxxx> 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@xxxxxxxxx>
Reviewed-by: SJ Park <sj@xxxxxxxxxx>
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
[...]