mm/damon/Kconfig: notify debugfs deprecation plan
authorSeongJae Park <sj@kernel.org>
Fri, 9 Sep 2022 20:28:59 +0000 (20:28 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:06 +0000 (14:03 -0700)
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.

Link: https://lkml.kernel.org/r/20220909202901.57977-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Yun Levi <ppbuk5246@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/Kconfig

index 66265e3..7821fcb 100644 (file)
@@ -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