Skip to contentSkip to conversation

mm-damon-move-kunit-tests-to-tests-subdirectory-with-_kunit-suffix.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Sep 4, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/damon: move kunit tests to tests/ subdirectory with _kunit suffix
has been removed from the -mm tree. Its filename was
mm-damon-move-kunit-tests-to-tests-subdirectory-with-_kunit-suffix.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: move kunit tests to tests/ subdirectory with _kunit suffix
Date: Mon, 26 Aug 2024 20:03:35 -0700

There was a discussion about better places for kunit test code[1] and test file name suffix[2]. Folowwing the conclusion, move kunit tests for DAMON to mm/damon/tests/ subdirectory and rename those.

[1] https://lore.kernel.org/CABVgOS=pUdWb6NDHszuwb1HYws4a1-b1UmN=i8U_ED7HbDT0mg@mail.gmail.com
[2] https://lore.kernel.org/CABVgOSmKwPq7JEpHfS6sbOwsR0B-DBDk_JP-ZD9s9ZizvpUjbQ@mail.gmail.com

---

 mm/damon/core-test.h         |  529 ---------------------------------
 mm/damon/core.c              |    2 
 mm/damon/dbgfs-test.h        |  173 ----------
 mm/damon/dbgfs.c             |    2 
 mm/damon/sysfs-test.h        |   86 -----
 mm/damon/sysfs.c             |    2 
 mm/damon/tests/core-kunit.h  |  529 +++++++++++++++++++++++++++++++++
 mm/damon/tests/dbgfs-kunit.h |  173 ++++++++++
 mm/damon/tests/sysfs-kunit.h |   86 +++++
 mm/damon/tests/vaddr-kunit.h |  324 ++++++++++++++++++++
 mm/damon/vaddr-test.h        |  324 --------------------
 mm/damon/vaddr.c             |    2 
 12 files changed, 1116 insertions(+), 1116 deletions(-)
mm/damon/core.c renamed from mm/damon/core.c~mm-damon-move-kunit-tests-to-tests-subdirectory-with-_kunit-suffix +1 -1
@@ -2205,4 +2205,4 @@ static int __init damon_init(void)
 
 subsys_initcall(damon_init);
 
-#include "core-test.h"
+#include "tests/core-kunit.h"
mm/damon/core-test.h deleted +0 -529

529 lines not on this page · raw message

mm/damon/dbgfs.c renamed from mm/damon/dbgfs.c~mm-damon-move-kunit-tests-to-tests-subdirectory-with-_kunit-suffix +1 -1
@@ -1145,4 +1145,4 @@ out:
 
 module_init(damon_dbgfs_init);
 
-#include "dbgfs-test.h"
+#include "tests/dbgfs-kunit.h"
mm/damon/dbgfs-test.h deleted +0 -173

173 lines not on this page · raw message

mm/damon/sysfs.c renamed from mm/damon/sysfs.c~mm-damon-move-kunit-tests-to-tests-subdirectory-with-_kunit-suffix +1 -1
@@ -1882,4 +1882,4 @@ out:
 }
 subsys_initcall(damon_sysfs_init);
 
-#include "sysfs-test.h"
+#include "tests/sysfs-kunit.h"
mm/damon/sysfs-test.h deleted +0 -86

86 lines not on this page · raw message

mm/damon/tests/core-kunit.h new file +529 -0

529 lines not on this page · raw message

mm/damon/tests/dbgfs-kunit.h new file +173 -0

173 lines not on this page · raw message

mm/damon/tests/sysfs-kunit.h new file +86 -0

86 lines not on this page · raw message

mm/damon/tests/vaddr-kunit.h new file +324 -0

324 lines not on this page · raw message

mm/damon/vaddr.c renamed from mm/damon/vaddr.c~mm-damon-move-kunit-tests-to-tests-subdirectory-with-_kunit-suffix +1 -1
@@ -730,4 +730,4 @@ static int __init damon_va_initcall(void
 
 subsys_initcall(damon_va_initcall);
 
-#include "vaddr-test.h"
+#include "tests/vaddr-kunit.h"
mm/damon/vaddr-test.h deleted +0 -324

324 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

mm-damon-core-intorduce-per-context-region-priorities-histogram-buffer.patch mm-damon-core-replace-per-quota-regions-priority-histogram-buffer-usage-with-per-context-one.patch mm-damon-core-remove-per-scheme-region-priority-histogram-buffer.patch revert-mm-damon-lru_sort-adjust-local-variable-to-dynamic-allocation.patch docs-damon-use-damonitor-github-organization-instead-of-awslabs.patch docs-damon-maintainer-profile-add-links-in-place.patch docs-damon-maintainer-profile-document-google-calendar-for-bi-weekly-meetups.patch