mm/damon: implement a debugfs-based user space interface
[platform/kernel/linux-starfive.git] / mm / damon / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 menu "Data Access Monitoring"
4
5 config DAMON
6         bool "DAMON: Data Access Monitoring Framework"
7         help
8           This builds a framework that allows kernel subsystems to monitor
9           access frequency of each memory region. The information can be useful
10           for performance-centric DRAM level memory management.
11
12           See https://damonitor.github.io/doc/html/latest-damon/index.html for
13           more information.
14
15 config DAMON_VADDR
16         bool "Data access monitoring primitives for virtual address spaces"
17         depends on DAMON && MMU
18         select PAGE_IDLE_FLAG
19         help
20           This builds the default data access monitoring primitives for DAMON
21           that works for virtual address spaces.
22
23 config DAMON_DBGFS
24         bool "DAMON debugfs interface"
25         depends on DAMON_VADDR && DEBUG_FS
26         help
27           This builds the debugfs interface for DAMON.  The user space admins
28           can use the interface for arbitrary data access monitoring.
29
30           If unsure, say N.
31
32 endmenu