Re: [PATCH v2 2/2] mm/damon/tests/core-kunit: test PSI goal values with explicit samples
From: SJ Park
Date: Mon Sep 21 2026 - 12:43:09 EST
On Mon, 21 Sep 2026 04:00:13 +0200 Karl Mehltretter <kmehltretter@xxxxxxxxx> wrote:
> Test the PSI current-value helper with explicit totals so the result does
> not depend on the test system's memory pressure. Cover an unmeasured
> consist goal, unmeasured temporal goals with zero and nonzero effective
> quotas, and measured rounds for both tuners. Check last_psi_total after
> each call.
>
> With the old unmeasured-round behavior retained in the helper, the
> temporal check with a nonzero effective quota fails.
Thank you for contributing test!
>
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
Reviewed-by: SJ Park <sj@xxxxxxxxxx>
Thanks,
SJ
[...]