diff options
| author | SeongJae Park <sj@kernel.org> | 2026-01-15 07:20:44 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-01-26 20:02:38 -0800 |
| commit | 33402229d28d837ceb4c8bcebc96dc509d9203f9 (patch) | |
| tree | a048bf1cba2003955fe2dfed33f63866a2c5c437 /include/linux/instruction_pointer.h | |
| parent | 306550f0a5817d271361aa010fd245a4b43af725 (diff) | |
mm/damon/reclaim: use damon_kdamond_pid()
DAMON_RECLAIM directly uses damon_ctx->kdamond field with manual
synchronization using damon_ctx->kdamond_lock, to get the pid of the
kdamond. Use a new dedicated function for the purpose, namely
damon_kdamond_pid(), since that doesn't require manual and error-prone
synchronization.
Link: https://lkml.kernel.org/r/20260115152047.68415-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/instruction_pointer.h')
0 files changed, 0 insertions, 0 deletions
