mm-damon-stat-use-secs_to_jiffies-instead-of-msecs_to_jiffies.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/stat: use secs_to_jiffies() instead of msecs_to_jiffies()
has been removed from the -mm tree. Its filename was
mm-damon-stat-use-secs_to_jiffies-instead-of-msecs_to_jiffies.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: Philippe Laferriere <[email protected]>
Subject: mm/damon/stat: use secs_to_jiffies() instead of msecs_to_jiffies()
Date: Mon, 29 Jun 2026 07:55:33 -0700
The conversion of a duration expressed in seconds reads as msecs_to_jiffies(5 * MSEC_PER_SEC), which obscures the intent and needlessly goes through milliseconds. Use the dedicated secs_to_jiffies() helper, which expresses the 5-second refresh interval directly. No functional change.
Found using Coccinelle (scripts/coccinelle/misc/secs_to_jiffies.cocci).
---
mm/damon/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/damon/stat.c renamed from mm/damon/stat.c~mm-damon-stat-use-secs_to_jiffies-instead-of-msecs_to_jiffies +1 -1
@@ -138,7 +138,7 @@ static int damon_stat_damon_call_fn(void/* avoid unnecessarily frequent stat update */ if (time_before_eq (jiffies, damon_stat_last_refresh_jiffies + -msecs_to_jiffies (5 *MSEC_PER_SEC ))) +secs_to_jiffies (5 )))return 0 ; damon_stat_last_refresh_jiffies = jiffies;
_
Patches currently in -mm which might be from [email protected] are