]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/damon: hide kdamond and kdamond_lock of damon_ctx
authorSeongJae Park <sj@kernel.org>
Thu, 15 Jan 2026 15:20:45 +0000 (07:20 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Jan 2026 04:02:38 +0000 (20:02 -0800)
commit6fe0e6d599a6bb4b65704285d40d4972423b7aaa
tree99f68c0a9a84ebd006384b7e998ceca5a2fc72d1
parent33402229d28d837ceb4c8bcebc96dc509d9203f9
mm/damon: hide kdamond and kdamond_lock of damon_ctx

There is no DAMON API caller that directly access 'kdamond' and
'kdamond_lock' fields of 'struct damon_ctx'.  Keeping those exposed could
only encourage creative but error-prone usages.  Hide them from DAMON API
callers by marking those as private fields.

Link: https://lkml.kernel.org/r/20260115152047.68415-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/damon.h