linux/samples/damon
SeongJae Park d93871f473 samples/damon/mtier: use damon_initialized()
damon_sample_mtier is assuming DAMON is ready to use in module_init time,
and uses its own hack to see if it is the time.  Use damon_initialized(),
which is a way for seeing if DAMON is ready to be used that is more
reliable and better to maintain instead of the hack.

Link: https://lkml.kernel.org/r/20250916033511.116366-8-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-09-21 14:22:39 -07:00
..
Kconfig samples/damon: implement a DAMON module for memory tiering 2025-05-12 23:50:30 -07:00
Makefile samples/damon: implement a DAMON module for memory tiering 2025-05-12 23:50:30 -07:00
mtier.c samples/damon/mtier: use damon_initialized() 2025-09-21 14:22:39 -07:00
prcl.c samples/damon/prcl: use damon_initialized() 2025-09-21 14:22:38 -07:00
wsse.c samples/damon/wsse: use damon_initialized() 2025-09-21 14:22:38 -07:00