From: SJ Park <sj@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: SJ Park <sj@kernel.org>,
Brendan Higgins <brendan.higgins@linux.dev>,
David Gow <davidgow@davidgow.net>,
damon@lists.linux.dev, kunit-dev@googlegroups.com,
linux-kselftest@vger.kernel.org, linux-mm@kvack.org
Subject: [PATCH v3 0/3] mm/damon/tests: add KUnit coverage for age_ms filters
Date: Mon, 23 Nov 2026 07:09:24 -0800 [thread overview]
Message-ID: <20261123150929.81797-1-sj@kernel.org> (raw)
From: Jason Angelov <jasonangelov@ucla.edu>
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.
Changes from v2
- v2: https://lore.kernel.org/20261116-test-age-ms-filter-v2-0-3b265d59ec98@ucla.edu
- Collect R-b: from Aveline and SJ.
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@ucla.edu
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
mm/damon/tests/core-kunit.h | 93 +++++++++++++++++++++++++++++++++++++
1 file changed, 93 insertions(+)
base-commit: 5247761933577a245d262c55994032b86cbec2d1
--
2.47.3
next reply other threads:[~2026-11-23 15:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 15:09 SJ Park [this message]
2026-11-23 15:09 ` [PATCH v3 1/3] mm/damon/tests/core-kunit: test DAMOS_FILTER_TYPE_AGE_MS in damos_test_commit_filter() SJ Park
2026-11-23 17:20 ` + mm-damon-tests-core-kunit-test-damos_filter_type_age_ms-in-damos_test_commit_filter.patch added to mm-new branch Andrew Morton
2026-11-23 15:09 ` [PATCH v3 2/3] mm/damon/tests/core-kunit: test DAMOS_FILTER_TYPE_AGE_MS in damos_filter_for_ops() SJ Park
2026-11-23 17:20 ` + mm-damon-tests-core-kunit-test-damos_filter_type_age_ms-in-damos_filter_for_ops.patch added to mm-new branch Andrew Morton
2026-11-23 15:09 ` [PATCH v3 3/3] mm/damon/tests/core-kunit: test DAMOS_FILTER_TYPE_AGE_MS interval changes SJ Park
2026-11-23 17:20 ` + mm-damon-tests-core-kunit-test-damos_filter_type_age_ms-interval-changes.patch added to mm-new branch Andrew Morton
2026-11-23 15:15 ` [PATCH v3 0/3] mm/damon/tests: add KUnit coverage for age_ms filters sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123150929.81797-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=brendan.higgins@linux.dev \
--cc=damon@lists.linux.dev \
--cc=davidgow@davidgow.net \
--cc=kunit-dev@googlegroups.com \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.