Re: [PATCH 1/2] mm/damon/core: score an unmeasured PSI goal as not achieved for the temporal tuner
From: Karl Mehltretter
Date: Mon Sep 21 2026 - 15:01:02 EST
On Sat, Sep 19, 2026 at 08:53:41AM +0100, SJ Park wrote:
> And the apply interval (or, next_apply_sis) is extended for each commit, in
> damon_set_attrs(). Hence, the problem can still happen.
>
Thank you for explaining the apply interval. So the PSI measurement
period can exceed the quota reset interval.
> > full commit zeroes esz, esz_bp and the charge state of the running
> > schemes. Please correct me if I read this wrong. I can send a
> > separate patch for that.
>
> I don't really understand the problem. Could you please further elaborate?
>
I posted this as a separate patch series with KUnit tests:
https://lore.kernel.org/r/20260921003047.12041-1-kmehltretter@xxxxxxxxx/
Thanks,
Karl