Skip to contentSkip to conversation

mm-damon-kconfig-enable-config_damon-by-default.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 1, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/damon/Kconfig: enable CONFIG_DAMON by default
has been removed from the -mm tree. Its filename was
mm-damon-kconfig-enable-config_damon-by-default.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: mm/damon/Kconfig: enable CONFIG_DAMON by default
Date: Tue, 20 May 2025 21:27:55 -0700

As of this writing, multiple major distros including Alma, Amazon, Android, CentOS, Debian, Fedora, and Oracle are build-enabling DAMON (set CONFIG_DAMON[1]). Enabling it by default will save configuration setup time for the current and future DAMON users.

Build-enabling DAMON does not introduce a real risk since it makes no behavioral change by default. It requires explicit user requests to do anything. Only one potential risk is making the size of the kernel a little bit larger. On a production-purpose configuration, it increases the resulting kernel package size by about 0.1 % of the final package file. I believe that's too small to be a real problem in common setups.

Hence, the benefit of enabling CONFIG_DAMON outweighs the potential risk. Set CONFIG_DAMON by default.

---

 mm/damon/Kconfig |    1 +
 1 file changed, 1 insertion(+)
mm/damon/Kconfig renamed from mm/damon/Kconfig~mm-damon-kconfig-enable-config_damon-by-default +1 -0
@@ -4,6 +4,7 @@ menu "Data Access Monitoring"
 
 config DAMON
 	bool "DAMON: Data Access Monitoring Framework"
+	default y
 	help
 	  This builds a framework that allows kernel subsystems to monitor
 	  access frequency of each memory region. The information can be useful

_

Patches currently in -mm which might be from [email protected] are