[merged mm-stable] selftests-damon-_damon_sysfspy-fix-memcg_path-assignment.patch removed from -mm tree

Andrew Morton <[email protected]> Tue, 28 Jul 2026 21:15:35 -0700
Newsgroups org.kernel.vger.mm-commits
Message-ID <[email protected]>
The quilt patch titled
     Subject: selftests/damon/_damon_sysfs.py: fix memcg_path assignment
has been removed from the -mm tree.  Its filename was
     selftests-damon-_damon_sysfspy-fix-memcg_path-assignment.patch

This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Cheng Nie <[email protected]>
Subject: selftests/damon/_damon_sysfs.py: fix memcg_path assignment
Date: Mon, 29 Jun 2026 07:48:10 -0700

Patch series "selftests/damon: fix memcg_path staging handling", v5.

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


This patch (of 2):

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.

Link: https://lore.kernel.org/[email protected]
Link: https://lore.kernel.org/[email protected]
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Cheng Nie <[email protected]>
Signed-off-by: SJ Park <[email protected]>
Reviewed-by: SJ Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 tools/testing/selftests/damon/_damon_sysfs.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/testing/selftests/damon/_damon_sysfs.py~selftests-damon-_damon_sysfspy-fix-memcg_path-assignment
+++ a/tools/testing/selftests/damon/_damon_sysfs.py
@@ -271,7 +271,7 @@ class DamosFilter:
         self.type_ = type_
         self.matching = matching
         self.allow = allow
-        self.memcg_path = memcg_path,
+        self.memcg_path = memcg_path
         self.addr_start = addr_start
         self.addr_end = addr_end
         self.target_idx = target_idx
_

Patches currently in -mm which might be from [email protected] are