Re: [PATCH v2 0/3] selftests/damon: misc fixes for test bugs
From: Kunwu Chan
Date: Tue Jun 02 2026 - 22:06:54 EST
2026年6月1日 22:28, "SeongJae Park" <sj@xxxxxxxxxx mailto:sj@xxxxxxxxxx?to=%22SeongJae%20Park%22%20%3Csj%40kernel.org%3E > 写到:
>
> On Mon, 1 Jun 2026 11:23:11 +0800 Kunwu Chan <kunwu.chan@xxxxxxxxx> wrote:
>
> >
> > From: Kunwu Chan <chentao@xxxxxxxxxx>
> >
> > This series fixes several bugs in the DAMON selftests. Most are
> > trivial but cause tests to silently pass when they shouldn't, or
> > fail prematurely on slow machines.
> >
> > Patch 1 fixes mutable default arguments in DamonCtx.__init__()
> > that cause state to leak between test instances.
> >
> > Patch 2 fixes wrong operator precedence and join TypeError in
> > damos_tried_regions.py.
> >
> > Patch 3 fixes several wrong strings that produce dead elif
> > branches, skipped file existence checks, and broken dict key
> > lookups.
> >
> > Based on next-20260529.
> > base-commit: 7da7f07112610a520567421dd2ffcb51beaefbcc
> > ---
> > Changes in v2:
> > - Fix From:/Signed-off-by mismatch.
> > - Add Reviewed-by tags from SeongJae Park.
> > - Drop the duplicate memcg_path fix.
> > - Drop the empty aggregation-cycle retry fix pending root-cause
> > investigation.
> > - No code change
> >
> From the next time, please add links to previous versions [1]. For other
> readers, the v1 of this series is available on the mailing list [2].
>
> [1] https://docs.kernel.org/process/submitting-patches.html#commentary
> [2] https://lore.kernel.org/20260531085633.48626-1-kunwu.chan@xxxxxxxxx
>
Hi SJ,
Noted, will add the link to previous versions next time.
Thanks for the reminder and for providing the v1 link.
Regards,
Kunwu
> Thanks,
> SJ
>
> [....]
>