[PATCH 0/5] selftests/damon: improve leak detection and wss estimation reliability

From: SeongJae Park

Date: Fri Jan 16 2026 - 21:07:39 EST


Two DAMON selftets, namely 'sysfs_memcg_leak' and
'sysfs_update_schemes_tried_regions_wss_estimation' frequently show
intermittent failures due to their unreliable leak detection and working
set size estimation. Make those more reliable.

SeongJae Park (5):
selftests/damon/sysfs_memcg_path_leak.sh: use kmemleak
selftests/damon/wss_estimation: test for up to 160 MiB working set
size
selftests/damon/access_memory: add repeat mode
selftests/damon/wss_estimation: ensure number of collected wss
selftests/damon/wss_estimation: deduplicate failed samples output

tools/testing/selftests/damon/access_memory.c | 29 +++++++++----
.../selftests/damon/sysfs_memcg_path_leak.sh | 26 ++++++------
...te_schemes_tried_regions_wss_estimation.py | 41 +++++++++++++++----
3 files changed, 67 insertions(+), 29 deletions(-)


base-commit: 3944e89e2ad1bafac43daae60b56d2847227ab01
--
2.47.3