]> git.ipfire.org Git - thirdparty/linux.git/commit
mm/damon/core: hide damon_add_region()
authorSeongJae Park <sj@kernel.org>
Fri, 22 May 2026 15:40:16 +0000 (08:40 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jun 2026 21:45:00 +0000 (14:45 -0700)
commit9cf7ef2d6665dff35b3b522c84509c2d256bf3aa
tree8c65c04ef890af653a6d59374f72704b15b9de7a
parent9ace949ad8f58f7eb175b88cc20a1d1c11a2d40f
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>
include/linux/damon.h
mm/damon/core.c