Skip to content

Commit 28615e6

Browse files
sjp38akpm00
authored andcommitted
mm/damon/Kconfig: enable CONFIG_DAMON by default
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. Link: https://oracle.github.io/kconfigs/?config=UTS_RELEASE&config=DAMON [1] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Acked-by: Honggyu Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 0acfc65 commit 28615e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/damon/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ menu "Data Access Monitoring"
44

55
config DAMON
66
bool "DAMON: Data Access Monitoring Framework"
7+
default y
78
help
89
This builds a framework that allows kernel subsystems to monitor
910
access frequency of each memory region. The information can be useful

0 commit comments

Comments
 (0)