]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/damon/core: hide damon_insert_region()
authorSeongJae Park <sj@kernel.org>
Fri, 22 May 2026 15:40:17 +0000 (08:40 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jun 2026 21:45:01 +0000 (14:45 -0700)
commit26d6f6960ff91ebb267cd80efe7772c6427b4cc1
treec9ba08b5f2dc9933636d94373a696e8bacc222c9
parent9cf7ef2d6665dff35b3b522c84509c2d256bf3aa
mm/damon/core: hide damon_insert_region()

damon_insert_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-7-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>
include/linux/damon.h
mm/damon/core.c