Re: [PATCH v2] mm/damon/tests/core-kunit: improve nr_samples_per_aggr test isolation

From: SJ Park

Date: Wed Sep 09 2026 - 11:08:42 EST


On Wed, 9 Sep 2026 15:07:11 +0800 Kunwu Chan <kunwu.chan@xxxxxxxxx> wrote:

> Test the zero sample interval case with a non-zero aggregation
> interval, and keep the zero/zero case to cover the zero-result
> fallback.
>
> Also make the overflow case use an explicit sample interval so that
> it does not depend on the zero sample interval fallback.

Thank you for improving the test. This looks good to me :)

>
> Signed-off-by: Kunwu Chan <kunwu.chan@xxxxxxxxx>
> Reviewed-by: Lian Wang <lianux.mm@xxxxxxxxx>

Reviewed-by: SJ Park <sj@xxxxxxxxxx>

This patch is applied to damon/next [1] tree. If this patch is not added to
mm.git in short term (~1 week?), I will ask mm.git maintainer (Andrew Morton)
to pick this. So, no action from your side is needed for now. If it seems I
also forgot doing that or you cannot wait for my action, please feel free to
directly ask that to Andrew.

[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees


Thanks,
SJ

[...]