linux/mm/damon
SeongJae Park da7aaca05f mm/damon/dbgfs: use damon_select_ops() instead of damon_{v,p}a_set_operations()
This commit makes DAMON debugfs interface to select the registered
monitoring operations for the physical address space or virtual address
spaces depending on user requests instead of setting it on its own.  Note
that DAMON debugfs interface is still dependent to DAMON_VADDR with this
change, because it is also using its symbol, 'damon_va_target_valid'.

Link: https://lkml.kernel.org/r/20220215184603.1479-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Xin Hao <xhao@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-03-22 15:57:12 -07:00
..
core-test.h mm/damon: remove the target id concept 2022-03-22 15:57:12 -07:00
core.c mm/damon: let monitoring operations can be registered and selected 2022-03-22 15:57:12 -07:00
dbgfs-test.h mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
dbgfs.c mm/damon/dbgfs: use damon_select_ops() instead of damon_{v,p}a_set_operations() 2022-03-22 15:57:12 -07:00
Kconfig mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
Makefile mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
ops-common.c mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
ops-common.h mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
paddr.c mm/damon/paddr,vaddr: register themselves to DAMON in subsys_initcall 2022-03-22 15:57:12 -07:00
reclaim.c mm/damon/reclaim: use damon_select_ops() instead of damon_{v,p}a_set_operations() 2022-03-22 15:57:12 -07:00
vaddr-test.h mm/damon: rename damon_primitives to damon_operations 2022-03-22 15:57:12 -07:00
vaddr.c mm/damon/paddr,vaddr: register themselves to DAMON in subsys_initcall 2022-03-22 15:57:12 -07:00