[PATCH v2 0/2] mm/damon: add kunit tests for probe_hits handling and probe params validation

From: SJ Park

Date: Mon Aug 31 2026 - 15:41:44 EST


DAMON recently introduced probes and probe weights. Add kunit tests
for the propagation of probe_hits at region split and merge, and the
rejection of invalid probe parameters by damon_valid_probe_params().

Changes from v1
- v1: https://lore.kernel.org/20260818034552.11975-1-jasonangelov@xxxxxxxx
- Collec R-b: from SJ.
- Rebase to latest mm-new.

Jason Angelov (2):
mm/damon/core-kunit: test probe_hits handling at region split and
merge
mm/damon/core-kunit: test damon_valid_probe_params()

mm/damon/tests/core-kunit.h | 64 +++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)


base-commit: e87656db0d5bae45056740ce6fc5d41e182013f4
--
2.47.3