diff options
author | SeongJae Park | 2022-03-22 14:48:58 -0700 |
---|---|---|
committer | Linus Torvalds | 2022-03-22 15:57:12 -0700 |
commit | da7aaca05f4f88f5e723f315771808a629b3d32b (patch) | |
tree | 943721ae4c3ac530fcf03360361933fa7269fbab /mm/util.c | |
parent | 4d69c3457821100a39fa8c6e0c23ed910bb6c29d (diff) |
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>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions