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

From: SJ Park

Date: Wed Jul 22 2026 - 10:36:29 EST


On Wed, 22 Jul 2026 19:33:36 +0800 Cheng-Han Wu <hank20010209@xxxxxxxxx> wrote:

> 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

Nice catch and cleanup, thnk you!


I applied this patch to damon/next [1] tree. We are now quite close to next
merge window. We (mm community) want to focus on making mm.git more stabilized
and therefore ready for the next merge window, rather than adding more changes
that are not really urgent. I understand this series is not really urgent.
Hence, Andrew might not add this patch until next -rc1 release. In the case, I
will request adding this to mm.git after next -rc1 release. So, no action from
your side is needed for now. Let me know if you think this is really urgent.

[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees


Thanks,
SJ

[...]