Skip to content

selftests/damon: fix memcg_path staging handling

SJ Park damon linux-kselftest linux-mm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest2 patches 0 repliesNew

Changes in v5 from the cover letter

- v4: https://lore.kernel.org/[email protected]
- Collect R-b: from SJ.
- Rebase to latest mm-new.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/damon/_damon_sysfs.py: fix memcg_path assignmenttools/testing/selftests/damon/_damon_sysfs.py+1 -10 replies
2/2selftests/damon/sysfs.py: validate memcg_path staging readbacktools/testing/selftests/damon/sysfs.py+31 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSJ Park
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] selftests/damon: fix memcg_path staging handling

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-niecheng1@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-niecheng1@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

Signature · 1 line
2.47.3