Skip to contentSkip to conversation

mm-damon-core-commit-damos-target_nid.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jul 20, 2025 Stable branch

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled

     Subject: mm/damon/core: commit damos->target_nid

has been removed from the -mm tree. Its filename was
mm-damon-core-commit-damos-target_nid.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: Bijan Tabatabai <[email protected]>
Subject: mm/damon/core: commit damos->target_nid
Date: Tue, 8 Jul 2025 19:47:29 -0500

When committing new scheme parameters from the sysfs, the target_nid field of the damos struct would not be copied. This would result in the target_nid field to retain its original value, despite being updated in the sysfs interface.

This patch fixes this issue by copying target_nid in damos_commit().

Fixes 83dc7bbaecae ("mm/damon/sysfs: use damon_commit_ctx()")
Cc Jonathan Corbet <[email protected]>
Cc Ravi Shankar Jonnalagadda <[email protected]>

---

 mm/damon/core.c |    1 +
 1 file changed, 1 insertion(+)
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-core-commit-damos-target_nid +1 -0
@@ -978,6 +978,7 @@ static int damos_commit(struct damos *ds
 		return err;
 
 	dst->wmarks = src->wmarks;
+	dst->target_nid = src->target_nid;
 
 	err = damos_commit_filters(dst, src);
 	return err;

_

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