119d7c3adSSeongJae Park# SPDX-License-Identifier: GPL-2.0 219d7c3adSSeongJae Park 319d7c3adSSeongJae Parkmenu "DAMON Samples" 419d7c3adSSeongJae Park 519d7c3adSSeongJae Parkconfig SAMPLE_DAMON_WSSE 6a58f3dcfSSeongjun Kim bool "DAMON sample module for working set size estimation" 719d7c3adSSeongJae Park depends on DAMON && DAMON_VADDR 819d7c3adSSeongJae Park help 919d7c3adSSeongJae Park This builds DAMON sample module for working set size estimation. 1019d7c3adSSeongJae Park 1119d7c3adSSeongJae Park The module receives a pid, monitor access to the virtual address 1219d7c3adSSeongJae Park space of the process, estimate working set size of the process, and 1319d7c3adSSeongJae Park repeatedly prints the size on the kernel log. 1419d7c3adSSeongJae Park 1519d7c3adSSeongJae Park If unsure, say N. 1619d7c3adSSeongJae Park 172aca2546SSeongJae Parkconfig SAMPLE_DAMON_PRCL 18a58f3dcfSSeongjun Kim bool "DAMON sample module for access-aware proactive reclamation" 192aca2546SSeongJae Park depends on DAMON && DAMON_VADDR 202aca2546SSeongJae Park help 212aca2546SSeongJae Park This builds DAMON sample module for access-aware proactive 222aca2546SSeongJae Park reclamation. 232aca2546SSeongJae Park 242aca2546SSeongJae Park The module receives a pid, monitor access to the virtual address 252aca2546SSeongJae Park space of the process, find memory regions that not accessed, and 262aca2546SSeongJae Park proactively reclaim the regions. 272aca2546SSeongJae Park 282aca2546SSeongJae Park If unsure, say N. 292aca2546SSeongJae Park 3082a08bdeSSeongJae Parkconfig SAMPLE_DAMON_MTIER 3182a08bdeSSeongJae Park bool "DAMON sample module for memory tiering" 3282a08bdeSSeongJae Park depends on DAMON && DAMON_PADDR 3382a08bdeSSeongJae Park help 34*2ab5ed1cSAsier Gutierrez This builds DAMON sample module for memory tiering. 3582a08bdeSSeongJae Park 3682a08bdeSSeongJae Park The module assumes the system is constructed with two NUMA nodes, 3782a08bdeSSeongJae Park which seems as local and remote nodes to all CPUs. For example, 3882a08bdeSSeongJae Park node0 is for DDR5 DRAMs connected via DIMM, while node1 is for DDR4 3982a08bdeSSeongJae Park DRAMs connected via CXL. 4082a08bdeSSeongJae Park 4182a08bdeSSeongJae Park If unsure, say N. 4282a08bdeSSeongJae Park 4319d7c3adSSeongJae Parkendmenu 44