Re: [PATCH v2 3/6] mm/damon/tests/core-kunit: test sz_ops_filter_passed_last
From: SJ Park
Date: Tue Nov 17 2026 - 20:59:41 EST
On Tue, 17 Nov 2026 23:22:17 +0000 Mattathias Pinchover via B4 Relay <devnull+mattathias.pinchover.uber.com@xxxxxxxxxx> wrote:
> From: Mattathias Pinchover <mattathias.pinchover@xxxxxxxx>
>
> Add a kunit test for the sz_ops_filter_passed_last DAMOS
> stat. The test runs kdamond_apply_schemes() for multiple apply intervals
> with a stub apply_scheme() operation that reports a given ops
> filter-passed size, and checks that the stat is set to the value of the
> last apply interval rather than the accumulated value, and that it is
> kept unchanged until the next apply interval is completed.
Looks good to me.
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Mattathias Pinchover <mattathias.pinchover@xxxxxxxx>
Reviewed-by: SJ Park <sj@xxxxxxxxxx>
Thanks,
SJ
[...]