DAMON development mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm/damon/core: remove unused helper functions
@ 2026-08-31 14:57 SJ Park
  2026-08-31 14:57 ` [PATCH v2 1/2] mm/damon/core: remove unused damon_targets_empty() SJ Park
  2026-08-31 14:57 ` [PATCH v2 2/2] mm/damon/core: remove unused damon_nr_running_ctxs() SJ Park
  0 siblings, 2 replies; 5+ messages in thread
From: SJ Park @ 2026-08-31 14:57 UTC (permalink / raw)
  To: Andrew Morton; +Cc: SJ Park, damon, linux-kernel, linux-mm

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@gmail.com
- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-01  0:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 14:57 [PATCH v2 0/2] mm/damon/core: remove unused helper functions SJ Park
2026-08-31 14:57 ` [PATCH v2 1/2] mm/damon/core: remove unused damon_targets_empty() SJ Park
2026-08-31 23:19   ` Andrew Morton
2026-09-01  0:42     ` SJ Park
2026-08-31 14:57 ` [PATCH v2 2/2] mm/damon/core: remove unused damon_nr_running_ctxs() SJ Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox