mm-damon-sysfs-setup-damon_filter-memcg_id-from-path.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/sysfs: setup damon_filter->memcg_id from path
has been removed from the -mm tree. Its filename was
mm-damon-sysfs-setup-damon_filter-memcg_id-from-path.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: SeongJae Park <[email protected]>
Subject: mm/damon/sysfs: setup damon_filter->memcg_id from path
Date: Mon, 18 May 2026 16:41:14 -0700
Find and set the memcg_id for damon_filter from the user-passed memory cgroup path when updating the DAMON input parameters.
---
include/linux/damon.h | 1 + mm/damon/core.c | 2 +- mm/damon/sysfs.c | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-)
include/linux/damon.h renamed from include/linux/damon.h~mm-damon-sysfs-setup-damon_filter-memcg_id-from-path +1 -0
@@ -1006,6 +1006,7 @@ static inline unsigned long damon_sz_regstruct damon_filter *damon_new_filter (enum damon_filter_type type,bool matching,bool allow);void damon_add_filter (struct damon_probe *probe,struct damon_filter *f); +void damon_destroy_filter (struct damon_filter *f);struct damon_probe *damon_new_probe (void );void damon_add_probe (struct damon_ctx *ctx,struct damon_probe *probe);
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-sysfs-setup-damon_filter-memcg_id-from-path +1 -1
@@ -143,7 +143,7 @@ static void damon_free_filter(struct damkfree (f); } -static void damon_destroy_filter (struct damon_filter *f) +void damon_destroy_filter (struct damon_filter *f) {damon_del_filter (f);damon_free_filter (f);
mm/damon/sysfs.c renamed from mm/damon/sysfs.c~mm-damon-sysfs-setup-damon_filter-memcg_id-from-path +11 -0
@@ -1927,6 +1927,17 @@ static int damon_sysfs_set_probes(struct sys_filter->allow);if (!filter)return -ENOMEM ; +if (filter->type ==DAMON_FILTER_TYPE_MEMCG ) { +int err; + + err =damon_sysfs_memcg_path_to_id ( + sys_filter->path, + &filter->memcg_id); +if (err) { +damon_destroy_filter (filter); +return err; + } + }damon_add_filter (c, filter); } }
_
Patches currently in -mm which might be from [email protected] are
mm-damon-reclaim-handle-ctx-allocation-failure.patch mm-damonn-lru_sort-handle-ctx-allocation-failure.patch maintainers-add-testing-abi-documents-for-mm.patch