The DAMON_STAT_ENABLED_DEFAULT option is strongly tied to DAMON_STAT -- enabling it alone is meaningless. This patch modifies the logic to automatically enable DAMON_STAT whenever DAMON_STAT_ENABLED_DEFAULT is selected, ensuring functional consistency. Signed-off-by: Enze Li --- mm/damon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/damon/Kconfig b/mm/damon/Kconfig index b3171f9406c1..5bc71354e6f3 100644 --- a/mm/damon/Kconfig +++ b/mm/damon/Kconfig @@ -105,7 +105,7 @@ config DAMON_STAT config DAMON_STAT_ENABLED_DEFAULT bool "Enable DAMON_STAT by default" depends on DAMON_PADDR - default DAMON_STAT + select DAMON_STAT help Whether to enable DAMON_STAT by default. Users can disable it in boot or runtime using its 'enabled' parameter. base-commit: 0cc53520e68bea7fb80fdc6bdf8d226d1b6a98d9 -- 2.43.0