]> git.ipfire.org Git - thirdparty/linux.git/commit
samples/damon: implement a DAMON module for memory tiering
authorSeongJae Park <sj@kernel.org>
Sun, 20 Apr 2025 19:40:30 +0000 (12:40 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 13 May 2025 06:50:30 +0000 (23:50 -0700)
commit82a08bde3cf7bbbe90de57baa181bebf676582c7
tree290985a11c2d80bf52838831bff7bca75266679e
parentf77cb462261bfe55fb0ae33eb911e3cad7694880
samples/damon: implement a DAMON module for memory tiering

Implement a sample DAMON module that shows how self-tuned DAMON-based
memory tiering can be written.  It is a sample since the purpose is to
give an idea about how it can be implemented and perform, rather than be
used on general production setups.  Especially, it supports only two tiers
memory setup having only one CPU-attached NUMA node.

[sj@kernel.org: fix wrong DAMON attrs setting]
Link: https://lkml.kernel.org/r/20250510220932.47722-1-sj@kernel.org
[sj@kernel.org: trigger build even if only mtier is enabled]
Link: https://lkml.kernel.org/r/20250426184054.11437-1-sj@kernel.org
Link: https://lkml.kernel.org/r/20250420194030.75838-8-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Yunjeong Mun <yunjeong.mun@sk.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
samples/Makefile
samples/damon/Kconfig
samples/damon/Makefile
samples/damon/mtier.c [new file with mode: 0644]