[PATCH mm-hotfixes-unstable 0/3] mm/damon: fix watermark state, kunit pid leak and selftest fake pass

From: SJ Park

Date: Mon Nov 02 2026 - 12:30:43 EST


Three hotfixes for core, kunit and selftest. Fix kdamond deactivation
from missed watermark reset with patch 1. Fix pid leak in kunit test
with patch 2. Fix a selftest wrongly passing when it should skip, with
patch 3.

Note for reviewers. This series is a collection of fixes that were
initially developed by different people. Changelog is in each patch.

Aveline Noir (1):
mm/damon/core: reset watermark wait state on each iteration

SJ Park (1):
selftests/damon/sysfs_memcg_path_leak: define ksft_skip

Wang Xiaolei (1):
mm/damon/tests/sysfs-kunit: fix leaked pid reference in add_targets
test

mm/damon/core.c | 5 +++--
mm/damon/tests/sysfs-kunit.h | 9 +++++++++
tools/testing/selftests/damon/sysfs_memcg_path_leak.sh | 3 +++
3 files changed, 15 insertions(+), 2 deletions(-)


base-commit: 395206c0e287bdd981918e033a2b1621ea6a3b9a
--
2.47.3