[PATCH 5/7] mm/damon/Kconfig: Notify debugfs deprecation plan

From: SeongJae Park
Date: Fri Sep 09 2022 - 16:30:35 EST


Commit b18402726bd1 ("Docs/admin-guide/mm/damon/usage: document DAMON
sysfs interface") announced the DAMON debugfs interface deprecation
plan, but it is not so aggressively announced. As the deprecation time
is coming, this commit makes the announce more easy to be found by
adding the note to the config menu of DAMON debugfs interface.

Signed-off-by: SeongJae Park <sj@xxxxxxxxxx>
---
mm/damon/Kconfig | 3 +++
1 file changed, 3 insertions(+)

diff --git a/mm/damon/Kconfig b/mm/damon/Kconfig
index 66265e3a9c65..7821fcb3f258 100644
--- a/mm/damon/Kconfig
+++ b/mm/damon/Kconfig
@@ -68,6 +68,9 @@ config DAMON_DBGFS

If unsure, say N.

+ This will be removed after >5.15.y LTS kernel is released, so users
+ should move to the sysfs interface (DAMON_SYSFS).
+
config DAMON_DBGFS_KUNIT_TEST
bool "Test for damon debugfs interface" if !KUNIT_ALL_TESTS
depends on DAMON_DBGFS && KUNIT=y
--
2.25.1