Data Access Monitoring
CONFIG_DAMON DAMON: Data Access Monitoring Framework
This builds a framework that allows kernel subsystems to monitor access frequency of each memory region. The information can be useful for performance-centric DRAM level memory management.
See https://www.kernel.org/doc/html/latest/mm/damon/index.html for more information.
If DAMON
CONFIG_DAMON_DEBUG_SANITY Check sanity of DAMON code
This enables additional DAMON debugging-purpose sanity checks in DAMON code. This can be useful for finding bugs, but impose additional overhead. This is therefore recommended to be enabled on only development and test setups.
If unsure, say N.
CONFIG_DAMON_KUNIT_TEST Test for damon
This builds the DAMON Kunit test suite.
For more information on KUnit and unit tests in general, please refer to the KUnit documentation.
If unsure, say N.
CONFIG_DAMON_VADDR Data access monitoring operations for virtual address spaces
This builds the default data access monitoring operations for DAMON that work for virtual address spaces.
- Depends on
DAMON && - Selects
PAGE_IDLE_FLAG if DAMON &&
CONFIG_DAMON_PADDR Data access monitoring operations for the physical address space
This builds the default data access monitoring operations for DAMON that works for the physical address space.
- Depends on
DAMON && - Selects
PAGE_IDLE_FLAG if DAMON &&
CONFIG_DAMON_VADDR_KUNIT_TEST Test for DAMON operations
This builds the DAMON virtual addresses operations Kunit test suite.
For more information on KUnit and unit tests in general, please refer to the KUnit documentation.
If unsure, say N.
- Depends on
DAMON_VADDR && KUNIT=y
CONFIG_DAMON_SYSFS DAMON sysfs interface
This builds the sysfs interface for DAMON. The user space can use the interface for arbitrary data access monitoring.
If DAMON_SYSFS
CONFIG_DAMON_SYSFS_KUNIT_TEST Test for damon sysfs interface
This builds the DAMON sysfs interface Kunit test suite.
For more information on KUnit and unit tests in general, please refer to the KUnit documentation.
If unsure, say N.
- Depends on
DAMON_SYSFS && KUNIT=y
CONFIG_DAMON_RECLAIM Build DAMON-based reclaim (DAMON_RECLAIM)
This builds the DAMON-based reclamation subsystem. It finds pages that not accessed for a long time (cold) using DAMON and reclaim those.
This is suggested to be used as a proactive and lightweight reclamation under light memory pressure, while the traditional page scanning-based reclamation is used for heavy pressure.
- Depends on
DAMON_PADDR
CONFIG_DAMON_LRU_SORT Build DAMON-based LRU-lists sorting (DAMON_LRU_SORT)
This builds the DAMON-based LRU-lists sorting subsystem. It tries to protect frequently accessed (hot) pages while rarely accessed (cold) pages reclaimed first under memory pressure.
- Depends on
DAMON_PADDR
CONFIG_DAMON_STAT Build data access monitoring stat (DAMON_STAT)
This builds the DAMON-based access monitoring statistics subsystem. It runs DAMON and expose access monitoring results in simple stat metrics.
- Depends on
DAMON_PADDR
If DAMON_STAT
CONFIG_DAMON_STAT_ENABLED_DEFAULT Enable DAMON_STAT by default
Whether to enable DAMON_STAT by default. Users can disable it in boot or runtime using its 'enabled' parameter.
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94