Re: [PATCH v2 0/3] mm/damon/tests: add KUnit coverage for age_ms filters

From: SJ Park

Date: Mon Nov 16 2026 - 10:28:54 EST


Hello Jason,

On Mon, 16 Nov 2026 03:06:20 -0800 Jason Angelov <jasonangelov@xxxxxxxx> wrote:

> The DAMON core tests do not cover DAMOS_FILTER_TYPE_AGE_MS. Add tests for
> committing valid and invalid age ranges, identifying the filter as
> core-handled, and matching ages at and outside the range boundaries.
>
> Region age is counted in aggregation intervals, but age_ms filter bounds
> are in milliseconds. The interval-change test checks filter matching
> after both increasing and decreasing the aggregation interval.
>
> Signed-off-by: Jason Angelov <jasonangelov@xxxxxxxx>
> ---
> Changes in v2:
> - Fix commit-message formatting, line wrapping, and comments.
> - Set age and interval inputs directly in patch 3.
> - Add SJ's Reviewed-by tags to patches 1 and 2.
> - Link to v1: https://lore.kernel.org/r/20261113-test-age-ms-filter-v1-0-b99eab2f71bb@xxxxxxxx

>From next time, please reply to comments on previous version and share plan to
the post next revision, before posting the next revision.

>
> ---
> Jason Angelov (3):
> mm/damon/tests/core-kunit: test DAMOS_FILTER_TYPE_AGE_MS in damos_test_commit_filter()
> mm/damon/tests/core-kunit: test DAMOS_FILTER_TYPE_AGE_MS in damos_filter_for_ops()
> mm/damon/tests/core-kunit: test DAMOS_FILTER_TYPE_AGE_MS interval changes

All patches look good to me, thank you for this patch series, Jason.

This series is applied to damon/next [1] tree. I will repost it soon (~1 week)
as an mm.git merge request. So, no action from your side is needed for now.

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


Thanks,
SJ

[...]