mm-damon-core-use-abs_diff-in-damon_feed_loop_next_input.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/core: use abs_diff() in damon_feed_loop_next_input()
has been removed from the -mm tree. Its filename was
mm-damon-core-use-abs_diff-in-damon_feed_loop_next_input.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: SJ Park <[email protected]>
Subject: mm/damon/core: use abs_diff() in damon_feed_loop_next_input()
Date: Thu, 17 Sep 2026 07:22:00 -0700
damon_feed_loop_next_input() is open-coding absolute diff calculation instead of the dedicated helper, abs_diff(), for no good reason. Use the dedicated helper.
---
mm/damon/core.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-core-use-abs_diff-in-damon_feed_loop_next_input +1 -4
@@ -2926,10 +2926,7 @@ static unsigned long damon_feed_loop_nexif (score >= goal *2 )return min_input; -if (over_achieving) - score_goal_diff = score - goal; -else - score_goal_diff = goal - score; + score_goal_diff =abs_diff (score, goal);if (last_input <ULONG_MAX / score_goal_diff) compensation = last_input * score_goal_diff / goal;
_
Patches currently in -mm which might be from [email protected] are
mm-damon-core-introduce-damos_quota_goal-complement.patch mm-damon-core-add-complement-argument-to-damos_new_quota_goal.patch mm-damon-sysfs-schemes-support-quota-goal-complement-flag.patch mm-damon-tests-core-kunit-test-quota_goal-complement-commit.patch selftests-damon-sysfssh-test-quota-goal-complement-flag-file.patch docs-mm-damon-design-document-damos-quota-goal-complement-flag.patch docs-admin-guide-mm-damon-usage-update-for-quota-goal-complement-file.patch docs-abi-damon-update-for-quota-goal-metric-complement-sysfs-file.patch