diff options
author | SeongJae Park | 2022-03-22 14:49:04 -0700 |
---|---|---|
committer | Linus Torvalds | 2022-03-22 15:57:12 -0700 |
commit | 999b9467974f75aae96b285337a77c098c9f1e07 (patch) | |
tree | 739f66da39d9c51e82d0656c03f72bf4e77356f1 /mm/cma_sysfs.c | |
parent | 4a20865b0744c987655472425203345d970da7a0 (diff) |
mm/damon/dbgfs-test: fix is_target_id() change
DAMON kunit tests for DAMON debugfs interface fails because it still
assumes setting empty monitoring operations makes DAMON debugfs interface
believe the target of the context don't have pid. This commit fixes the
kunit test fails by explicitly setting the context's monitoring operations
with the operations for the physical address space, which let debugfs
knows the target will not have pid.
Link: https://lkml.kernel.org/r/20220215184603.1479-8-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/cma_sysfs.c')
0 files changed, 0 insertions, 0 deletions