* [PATCH 0/2] mm/damon/Kconfig: update documentation for features and kunit scopes
@ 2026-11-29 19:08 SJ Park
2026-11-29 19:08 ` [PATCH 2/2] mm/damon/Kconfig: clarify kunit scope of kunit configs SJ Park
0 siblings, 1 reply; 2+ messages in thread
From: SJ Park @ 2026-11-29 19:08 UTC (permalink / raw)
To: Andrew Morton
Cc: SJ Park, Brendan Higgins, David Gow, damon, kunit-dev,
linux-kselftest, linux-mm
At the beginning, DAMON was doing only data access monitoring. DAMON
evolved a lot to do many more works in addition to the access
monitoring. Kconfig documentation is not updated for the fact. It also
does not clearly explain the kunit test scopes.
Update the documentation for all features via patch 1. Clarify the
kunit test scope via patch 2.
Changes from RFC
- RFC: https://lore.kernel.org/20261128230153.590355-1-sj@kernel.org
- Fix inconsistent prompt: s/Kunit/KUnit/
- Collect R-b: from Enze Li.
- Rebase to the latest mm-new.
- Drop RFC tag.
SJ Park (2):
mm/damon/Kconfig: update for features other than access monitoring
mm/damon/Kconfig: clarify kunit scope of kunit configs
mm/damon/Kconfig | 33 ++++++++++++++++-----------------
1 file changed, 16 insertions(+), 17 deletions(-)
base-commit: b7ee96f81dbca196a4aed69e280a444e8369dac2
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] mm/damon/Kconfig: clarify kunit scope of kunit configs
2026-11-29 19:08 [PATCH 0/2] mm/damon/Kconfig: update documentation for features and kunit scopes SJ Park
@ 2026-11-29 19:08 ` SJ Park
0 siblings, 0 replies; 2+ messages in thread
From: SJ Park @ 2026-11-29 19:08 UTC (permalink / raw)
To: Andrew Morton
Cc: SJ Park, Brendan Higgins, David Gow, damon, kunit-dev,
linux-kselftest, linux-mm, David Gow, Aveline Noir, Enze Li
The prompts for DAMON kunit configs are not clearly saying it is for
kunit tests. DAMON_KUNIT_TEST is only for the core layer, but the help
message is not clarifying that. Clarify those.
Acked-by: David Gow <david@davidgow.net>
Reviewed-by: Aveline Noir <jm5905938@gmail.com>
Reviewed-by: Enze Li <lienze@kylinos.cn>
Signed-off-by: SJ Park <sj@kernel.org>
---
mm/damon/Kconfig | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mm/damon/Kconfig b/mm/damon/Kconfig
index 651b4fd1a844..4c32a6242d51 100644
--- a/mm/damon/Kconfig
+++ b/mm/damon/Kconfig
@@ -23,11 +23,11 @@ config DAMON_DEBUG_SANITY
If unsure, say N.
config DAMON_KUNIT_TEST
- bool "Test for damon" if !KUNIT_ALL_TESTS
+ bool "KUnit tests for DAMON core" if !KUNIT_ALL_TESTS
depends on DAMON && KUNIT=y
default KUNIT_ALL_TESTS
help
- This builds the DAMON Kunit test suite.
+ This builds the DAMON Kunit test suite for DAMON core.
For more information on KUnit and unit tests in general, please refer
to the KUnit documentation.
@@ -53,7 +53,7 @@ config DAMON_PADDR
physical address space.
config DAMON_VADDR_KUNIT_TEST
- bool "Test for DAMON operations" if !KUNIT_ALL_TESTS
+ bool "KUnit tests for DAMON virtual address operations" if !KUNIT_ALL_TESTS
depends on DAMON_VADDR && KUNIT=y
default KUNIT_ALL_TESTS
help
@@ -65,7 +65,7 @@ config DAMON_VADDR_KUNIT_TEST
If unsure, say N.
config DAMON_PADDR_KUNIT_TEST
- bool "Tets for DAMON physical address operations" if !KUNIT_ALL_TESTS
+ bool "KUnit tests for DAMON physical address operations" if !KUNIT_ALL_TESTS
depends on DAMON_PADDR && KUNIT=y
default KUNIT_ALL_TESTS
help
@@ -85,7 +85,7 @@ config DAMON_SYSFS
the interface for data access/attribute monitoring and operations.
config DAMON_SYSFS_KUNIT_TEST
- bool "Test for damon sysfs interface" if !KUNIT_ALL_TESTS
+ bool "KUnit tests for DAMON sysfs interface" if !KUNIT_ALL_TESTS
depends on DAMON_SYSFS && KUNIT=y
default KUNIT_ALL_TESTS
help
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-29 19:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 19:08 [PATCH 0/2] mm/damon/Kconfig: update documentation for features and kunit scopes SJ Park
2026-11-29 19:08 ` [PATCH 2/2] mm/damon/Kconfig: clarify kunit scope of kunit configs SJ Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox