Re: [PATCH v2 1/2] selftests/damon/_damon_sysfs.py: fix memcg_path assignment

From: SeongJae Park

Date: Fri May 29 2026 - 11:07:53 EST


On Fri, 29 May 2026 17:19:48 +0800 Cheng Nie <niecheng1@xxxxxxxxxxxxx> wrote:

> DamosFilter stores memcg_path for sysfs staging, but the constructor
> assigns it with a trailing comma and therefore turns it into a tuple.
>
> Fix the assignment so memcg_path is stored as the intended string.
> This makes memcg filter staging and follow-up validation use the
> written path correctly.

Nice catch, thank you!

>
> Signed-off-by: Cheng Nie <niecheng1@xxxxxxxxxxxxx>

Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>


Thanks,
SJ

[...]