Re: [RFC PATCH 6.12.y 3/5] mm/damon/core: handle uninitialized damos_quota_goal->last_psi_total

From: SJ Park

Date: Sun Nov 08 2026 - 20:16:22 EST


On Sun, 8 Nov 2026 19:34:37 -0500 Sasha Levin <sashal@xxxxxxxxxx> wrote:

> > When DAMOS_QUOTA_SOME_MEM_PSI_US metric damos quota goal is set, the PSI
> > delta for the feedback loop is calculated using
> > damos_quota_goal->last_psi_total.
>
> Patches 1, 2, 4 and 5 are queued for 6.12.
>
> This one doesn't apply: 610c4438fb66 ("mm/damon/core: error
> damos_commit_quota_goal() for zero target_value") is queued for 6.12 and made
> damos_commit_quota_goal() return int, so the `return 0;` has to be kept. Please
> rebase it on the queue and resend.

Thank you, Sasha. I just rebased and posted [1] this one as another thread.

[1] https://lore.kernel.org/20261109011347.92467-1-sj@xxxxxxxxxx


Thanks,
SJ

[...]