mm-damon-tests-core-kunit-remove-damon_min_region-redefinition.patch removed from -mm tree
The quilt patch titled
Subject: mm/damon/tests/core-kunit: remove DAMON_MIN_REGION redefinition
has been removed from the -mm tree. Its filename was
mm-damon-tests-core-kunit-remove-damon_min_region-redefinition.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/tests/core-kunit: remove DAMON_MIN_REGION redefinition
Date: Wed, 12 Nov 2025 07:41:09 -0800
A few DAMON core functions including damon_set_regions() were hard-coded to use DAMON_MIN_REGION as their regions management granularity. For simple and human-readable unit tests' expectations, DAMON core layer kunit test re-defines DAMON_MIN_REGION to '1'.
A previous patch series [1] has removed the hard-coded part but kept the redefinition and updated related function calls to explicitly use DAMON_MIN_REGION. Remove the unnecessary redefinition and update relevant function calls to pass literals (number '1') instead of the DAMON_MIN_REGION.
---
mm/damon/core.c | 5 --- mm/damon/tests/core-kunit.h | 55 ++++++++++++++++------------------ 2 files changed, 26 insertions(+), 34 deletions(-)
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-tests-core-kunit-remove-damon_min_region-redefinition +0 -5
@@ -20,11 +20,6 @@#define CREATE_TRACE_POINTS #include <trace/events/damon.h> -#ifdef CONFIG_DAMON_KUNIT_TEST -#undef DAMON_MIN_REGION -#define DAMON_MIN_REGION 1 -#endif -static DEFINE_MUTEX (damon_lock);static int nr_running_ctxs;static bool running_exclusive_ctxs;
mm/damon/tests/core-kunit.h renamed from mm/damon/tests/core-kunit.h~mm-damon-tests-core-kunit-remove-damon_min_region-redefinition +26 -29
112 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are