[PATCH v2 0/2] selftests/damon: fix memcg_path staging handling

From: Cheng Nie

Date: Fri May 29 2026 - 05:10:50 EST


This series fixes memcg_path handling in DamosFilter and adds memcg
filter staging validation to the DAMON sysfs selftest.

Changes in v2:
- Use file-scoped commit subjects as suggested
- Move memcg_path readback check out of assert_filter_committed()
into a dedicated test case at the end of main()

Cheng Nie (2):
selftests/damon/_damon_sysfs.py: fix memcg_path assignment
selftests/damon/sysfs.py: validate memcg_path staging readback

tools/testing/selftests/damon/_damon_sysfs.py | 2 +-
tools/testing/selftests/damon/sysfs.py | 39 +++++++++++++++++++
2 files changed, 40 insertions(+), 1 deletion(-)

--
2.51.0