mm-damon-core-destroy-targets-when-kdamond_fn-finish.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/core: destroy targets when kdamond_fn() finish
has been removed from the -mm tree. Its filename was
mm-damon-core-destroy-targets-when-kdamond_fn-finish.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: mm/damon/core: destroy targets when kdamond_fn() finish
Date: Sat, 12 Jul 2025 12:50:14 -0700
When kdamond_fn() completes, the targets are kept. Those are kept to let callers do additional cleanups if they need. There are no such additional cleanups though. DAMON sysfs interface deallocates those in before_terminate() callback, to reduce unnecessary memory usage, for [f]vaddr use case. Just destroy the targets for every case in the core layer. This saves more memory and simplifies the logic.
---
mm/damon/core.c | 1 + 1 file changed, 1 insertion(+)
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-core-destroy-targets-when-kdamond_fn-finish +1 -0
@@ -2657,6 +2657,7 @@ done: running_exclusive_ctxs = false;mutex_unlock (&damon_lock); +damon_destroy_targets (ctx);return 0 ; }
_
Patches currently in -mm which might be from [email protected] are
mm-damon-core-commit-damos_quota_goal-nid.patch mm-damon-sysfs-implement-refresh_ms-file-under-kdamond-directory.patch mm-damon-sysfs-implement-refresh_ms-file-internal-work.patch docs-admin-guide-mm-damon-usage-document-refresh_ms-file.patch docs-abi-damon-update-for-refresh_ms.patch