mm-damon-paddr-support-damon_filter_type_memcg.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/paddr: support DAMON_FILTER_TYPE_MEMCG
has been removed from the -mm tree. Its filename was
mm-damon-paddr-support-damon_filter_type_memcg.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/paddr: support DAMON_FILTER_TYPE_MEMCG
Date: Mon, 18 May 2026 16:41:11 -0700
Implement the support of DAMON_FILTER_TYPE_MEMCG on the DAMON operation set implementation for the physical address space.
---
mm/damon/paddr.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
mm/damon/paddr.c renamed from mm/damon/paddr.c~mm-damon-paddr-support-damon_filter_type_memcg +14 -0
@@ -124,6 +124,7 @@ static bool damon_pa_filter_match(struct struct folio *folio) {bool matched = false; +struct mem_cgroup *memcg;switch (filter->type) {case DAMON_FILTER_TYPE_ANON :
@@ -133,6 +134,19 @@ static bool damon_pa_filter_match(struct } matched =folio_test_anon (folio);break ; +case DAMON_FILTER_TYPE_MEMCG : +if (!folio) { + matched = false; +break ; + } +rcu_read_lock (); + memcg =folio_memcg_check (folio); +if (!memcg) + matched = false; +else + matched = filter->memcg_id ==mem_cgroup_id (memcg); +rcu_read_unlock (); +break ;default :break ; }
_
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