linux-yocto/samples/damon/Kconfig
SeongJae Park 2aca254620 samples/damon: introduce a skeleton of a smaple DAMON module for proactive reclamation
DAMON is not only for monitoring of access patterns, but also for
access-aware system operations.  For the system operations, DAMON provides
a feature called DAMOS (Data Access Monitoring-based Operation Schemes). 
There is no sample API usage of DAMOS, though.  Copy the working set size
estimation sample modules with changed names of the module and symbols, to
use it as a skeleton for a sample module showing the DAMOS API usage.  The
following commit will make it proactively reclaim cold memory of the given
process, using DAMOS.

Link: https://lkml.kernel.org/r/20241210215030.85675-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-01-13 22:40:57 -08:00

877 B

SPDX-License-Identifier: GPL-2.0

menu "DAMON Samples"

config SAMPLE_DAMON_WSSE bool "DAMON sameple module for working set size estimation" depends on DAMON && DAMON_VADDR help This builds DAMON sample module for working set size estimation.

  The module receives a pid, monitor access to the virtual address
  space of the process, estimate working set size of the process, and
  repeatedly prints the size on the kernel log.

  If unsure, say N.

config SAMPLE_DAMON_PRCL bool "DAMON sameple module for access-aware proactive reclamation" depends on DAMON && DAMON_VADDR help This builds DAMON sample module for access-aware proactive reclamation.

  The module receives a pid, monitor access to the virtual address
  space of the process, find memory regions that not accessed, and
  proactively reclaim the regions.

  If unsure, say N.

endmenu