mm-damon-dbgfs-test-fix-is_target_id-change.patch removed from -mm tree
The patch titled
Subject: mm/damon/dbgfs-test: fix is_target_id() change
has been removed from the -mm tree. Its filename was
mm-damon-dbgfs-test-fix-is_target_id-change.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: SeongJae Park <[email protected]>
Subject: 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.
---
mm/damon/dbgfs-test.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
mm/damon/dbgfs-test.h renamed from mm/damon/dbgfs-test.h~mm-damon-dbgfs-test-fix-is_target_id-change +3 -1
@@ -74,7 +74,7 @@ static void damon_dbgfs_test_set_targetschar buf[64 ];/* Make DAMON consider target has no pid */ - ctx->ops = (struct damon_operations ){}; +damon_select_ops (ctx,DAMON_OPS_PADDR );dbgfs_set_targets (ctx,0 ,NULL );sprint_target_ids (ctx, buf,64 );
@@ -111,6 +111,8 @@ static void damon_dbgfs_test_set_init_reint i, rc;char buf[256 ]; +damon_select_ops (ctx,DAMON_OPS_PADDR ); +dbgfs_set_targets (ctx,3 ,NULL );/* Put valid inputs and check the results */
_
Patches currently in -mm which might be from [email protected] are