From: SJ Park <sj@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: SJ Park <sj@kernel.org>,
Brendan Higgins <brendan.higgins@linux.dev>,
David Gow <davidgow@davidgow.net>,
damon@lists.linux.dev, kunit-dev@googlegroups.com,
linux-kselftest@vger.kernel.org, linux-mm@kvack.org,
David Gow <david@davidgow.net>,
Aveline Noir <jm5905938@gmail.com>, Enze Li <lienze@kylinos.cn>
Subject: [PATCH 2/2] mm/damon/Kconfig: clarify kunit scope of kunit configs
Date: Sun, 29 Nov 2026 11:08:16 -0800 [thread overview]
Message-ID: <20261129190821.91390-3-sj@kernel.org> (raw)
In-Reply-To: <20261129190821.91390-1-sj@kernel.org>
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
next prev parent reply other threads:[~2026-11-29 19:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 1/2] mm/damon/Kconfig: update for features other than access monitoring SJ Park
2026-11-29 19:08 ` SJ Park [this message]
2026-11-29 19:10 ` [PATCH 0/2] mm/damon/Kconfig: update documentation for features and kunit scopes sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129190821.91390-3-sj@kernel.org \
--to=sj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=brendan.higgins@linux.dev \
--cc=damon@lists.linux.dev \
--cc=david@davidgow.net \
--cc=davidgow@davidgow.net \
--cc=jm5905938@gmail.com \
--cc=kunit-dev@googlegroups.com \
--cc=lienze@kylinos.cn \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox