xref: /linux/samples/damon/Kconfig (revision 00c010e130e58301db2ea0cec1eadc931e1cb8cf)
1# SPDX-License-Identifier: GPL-2.0
2
3menu "DAMON Samples"
4
5config SAMPLE_DAMON_WSSE
6	bool "DAMON sample module for working set size estimation"
7	depends on DAMON && DAMON_VADDR
8	help
9	  This builds DAMON sample module for working set size estimation.
10
11	  The module receives a pid, monitor access to the virtual address
12	  space of the process, estimate working set size of the process, and
13	  repeatedly prints the size on the kernel log.
14
15	  If unsure, say N.
16
17config SAMPLE_DAMON_PRCL
18	bool "DAMON sample module for access-aware proactive reclamation"
19	depends on DAMON && DAMON_VADDR
20	help
21	  This builds DAMON sample module for access-aware proactive
22	  reclamation.
23
24	  The module receives a pid, monitor access to the virtual address
25	  space of the process, find memory regions that not accessed, and
26	  proactively reclaim the regions.
27
28	  If unsure, say N.
29
30config SAMPLE_DAMON_MTIER
31	bool "DAMON sample module for memory tiering"
32	depends on DAMON && DAMON_PADDR
33	help
34	  Thps builds DAMON sample module for memory tierign.
35
36	  The module assumes the system is constructed with two NUMA nodes,
37	  which seems as local and remote nodes to all CPUs.  For example,
38	  node0 is for DDR5 DRAMs connected via DIMM, while node1 is for DDR4
39	  DRAMs connected via CXL.
40
41	  If unsure, say N.
42
43endmenu
44