Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mm/damon/core: remove unused helper functions
@ 2026-07-22 11:33 Cheng-Han Wu
  2026-07-22 11:33 ` [PATCH 1/2] mm/damon/core: remove unused damon_targets_empty() Cheng-Han Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Cheng-Han Wu @ 2026-07-22 11:33 UTC (permalink / raw)
  To: SJ Park
  Cc: Andrew Morton, Shuah Khan, damon, linux-mm, linux-kernel,
	linux-kernel-mentees, Cheng-Han Wu

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

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

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


base-commit: 5e0603ba185af6754422ad28b646798686b6caf6
-- 
2.52.0



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

end of thread, other threads:[~2026-07-22 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 11:33 [PATCH 0/2] mm/damon/core: remove unused helper functions Cheng-Han Wu
2026-07-22 11:33 ` [PATCH 1/2] mm/damon/core: remove unused damon_targets_empty() Cheng-Han Wu
2026-07-22 14:04   ` SJ Park
2026-07-22 11:33 ` [PATCH 2/2] mm/damon/core: remove unused damon_nr_running_ctxs() Cheng-Han Wu
2026-07-22 14:05   ` SJ Park
2026-07-22 14:09 ` [PATCH 0/2] mm/damon/core: remove unused helper functions SJ Park

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