aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
authorSeongJae Park <sj@kernel.org>2026-05-22 08:40:16 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-05-28 21:31:23 -0700
commit10f853952e8b55f11b9dda863b2dc871c478ba75 (patch)
treea2c3205c994a4b1ed0d3e4924d15674e85ecb5e2 /include
parentb12a77369d8444cf3828c94192a364fc2ecad0d7 (diff)
downloadlinux-next-history-10f853952e8b55f11b9dda863b2dc871c478ba75.tar.gz
mm/damon/core: hide damon_add_region()
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. Link: https://lore.kernel.org/20260522154026.80546-6-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/damon.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h
index 4014fd0d463cb..b9370c1779cba 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -1024,7 +1024,6 @@ static inline void damon_insert_region(struct damon_region *r,
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);