linux/mm/damon
SeongJae Park 4d69c34578 mm/damon/reclaim: use damon_select_ops() instead of damon_{v,p}a_set_operations()
This commit makes DAMON_RECLAIM to select the registered monitoring
operations for the physical address space instead of setting it on its
own.  This allows DAMON_RECLAIM be independent of DAMON_PADDR, but leave
the dependency as is, because it's the only one monitoring operations it
use, and therefore it makes no sense to build DAMON_RECLAIM without
DAMON_PADDR.

Link: https://lkml.kernel.org/r/20220215184603.1479-5-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: rename damon_primitives to damon_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