Fix a bug in _damon_sysfs.py for damos_filter memcg_path setup, and add
a test case of it in sysfs.py.

Changes from v4:
- v4: 
https://lore.kernel.org/[email protected]
- Collect R-b: from SJ.
- Rebase to latest mm-new.
Changes from v3:
- v3: 
https://lore.kernel.org/[email protected]
- call stop() for cleanup without checking its return value
Changes from v2:
- v2: 
https://lore.kernel.org/4cda28dc581fdcf8+20260529090845.1696845-1-nieche...@uniontech.com
- configure memcg filter before start(), remove commit(), ignore
  start() failure, verify memcg_path staging readback only
- use print-style error messages as suggested
Changes from v1:
- v1: 
https://lore.kernel.org/406bd1ba0f6ae326+20260528081039.1192194-3-nieche...@uniontech.com
- unknown.

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        | 31 +++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)


base-commit: 544856bcdccf456fc27f85e5d5b0a49f7b8e6019
-- 
2.47.3

Reply via email to