[PATCH v2 0/2] mm/damon/core: remove unused helper functions

From: SJ Park

Date: Mon Aug 31 2026 - 13:32:12 EST


Both damon_targets_empty() and damon_nr_running_ctxs() have had no
in-tree users since commit 5ec4333b1967 ("mm/damon: remove DAMON
debugfs interface") removed their remaining callers.

Remove the unused declarations and definitions.

Tested with:
make O=../linux-build-mm W=1 mm/damon

Changes from v1
- v1: https://lore.kernel.org/20260722113338.302603-1-hank20010209@xxxxxxxxx
- Collect R-b: from SJ.
- Rebase to latest mm-new.

Cheng-Han Wu (1):
mm/damon/core: remove unused damon_nr_running_ctxs()

SJ Park (1):
mm/damon/core: remove unused damon_targets_empty()

include/linux/damon.h | 2 --
mm/damon/core.c | 19 -------------------
2 files changed, 21 deletions(-)


base-commit: 1faa74d984626dfc33182c71145f2ccda03179e8
--
2.47.3