Re: [PATCH v4 2/2] selftests/damon/sysfs.py: validate memcg_path staging readback
From: SeongJae Park
Date: Mon Jun 01 2026 - 10:39:43 EST
On Mon, 1 Jun 2026 17:06:33 +0800 Cheng Nie <niecheng1@xxxxxxxxxxxxx> wrote:
> Add a dedicated test at the end of main() that stages memcg_path via
> sysfs and verifies its readback. Configure the memcg filter before
> start(), do not call commit(), and ignore start() failures so the test
> does not depend on CONFIG_MEMCG or cgroup layout. Call stop() for
> cleanup without checking its return value.
Looks good to me, thank you!
>
> Signed-off-by: Cheng Nie <niecheng1@xxxxxxxxxxxxx>
Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>
Thanks,
SJ
[...]