Skip to contentSkip to conversation

mm-damon-core-kunit-test-invalid-damos-filter-commits.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 13 Stable branch

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/damon/core-kunit: test invalid damos filter commits
has been removed from the -mm tree. Its filename was
mm-damon-core-kunit-test-invalid-damos-filter-commits.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-kunit: test invalid damos filter commits
Date: Mon, 14 Sep 2026 07:23:25 -0700

Add test cases for testing the validation of damos filter arguments in commit time.

---

 mm/damon/tests/core-kunit.h |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
mm/damon/tests/core-kunit.h renamed from mm/damon/tests/core-kunit.h~mm-damon-core-kunit-test-invalid-damos-filter-commits +14 -0
@@ -1186,6 +1186,13 @@ static void damos_test_commit_filter(str
 			}, false);
 	damos_test_commit_filter_for(test, &dst,
 			&(struct damos_filter){
+			.type = DAMOS_FILTER_TYPE_HUGEPAGE_SIZE,
+			.matching = false,
+			.allow = false,
+			.sz_range = {.min = 456, .max = 123},
+			}, true);
+	damos_test_commit_filter_for(test, &dst,
+			&(struct damos_filter){
 			.type = DAMOS_FILTER_TYPE_UNMAPPED,
 			.matching = true,
 			.allow = true,
@@ -1199,6 +1206,13 @@ static void damos_test_commit_filter(str
 			}, false);
 	damos_test_commit_filter_for(test, &dst,
 			&(struct damos_filter){
+			.type = DAMOS_FILTER_TYPE_ADDR,
+			.matching = false,
+			.allow = false,
+			.addr_range = {.start = 567, .end = 456},
+			}, true);
+	damos_test_commit_filter_for(test, &dst,
+			&(struct damos_filter){
 			.type = DAMOS_FILTER_TYPE_TARGET,
 			.matching = true,
 			.allow = true,

_

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