mbox series

[0/3] mm/damon/core: fix wrong and/or useless damos_walk() behaviors

Message ID 20250210182737.134994-1-sj@kernel.org (mailing list archive)
Headers show
Series mm/damon/core: fix wrong and/or useless damos_walk() behaviors | expand

Message

SeongJae Park Feb. 10, 2025, 6:27 p.m. UTC
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