damos_walk() can finish working earlier or later than expected, and start earlier than practical. First two behaviors are clearly wrong behavior (doesn't follow the documentation) and all three behaviors are only making the feature useless. Fix those. SeongJae Park (3): mm/damon/core: unset damos->walk_completed after confimed set mm/damon/core: do not call damos_walk_control->walk() if walk is completed mm/damon/core: do damos walking in entire regions granularity mm/damon/core.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) base-commit: 920155d8318aaec9f7c227e617bc7b399dec502e -- 2.39.5