mm-damon-core-hide-damon_add_region.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/core: hide damon_add_region()
has been removed from the -mm tree. Its filename was
mm-damon-core-hide-damon_add_region.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/core: hide damon_add_region()
Date: Fri, 22 May 2026 08:40:16 -0700
damon_add_region() is being used by only DAMON core, but exposed to DAMON API callers. Exposing something that is not really being used by others will only increase the maintenance cost. Hide it.
---
include/linux/damon.h | 1 - mm/damon/core.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
include/linux/damon.h renamed from include/linux/damon.h~mm-damon-core-hide-damon_add_region +0 -1
@@ -1024,7 +1024,6 @@ static inline void damon_insert_region(s t->nr_regions++; } -void damon_add_region (struct damon_region *r,struct damon_target *t);void damon_destroy_region (struct damon_region *r,struct damon_target *t);int damon_set_regions (struct damon_target *t,struct damon_addr_range *ranges,unsigned int nr_ranges,unsigned long min_region_sz);
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-core-hide-damon_add_region +1 -1
@@ -250,7 +250,7 @@ struct damon_region *damon_new_region(unreturn region; } -void damon_add_region (struct damon_region *r,struct damon_target *t) +static void damon_add_region (struct damon_region *r,struct damon_target *t) {list_add_tail (&r->list, &t->regions_list); t->nr_regions++;
_
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