Re: [PATCH v1] mm/damon/stat: roll back context on damon_call() failure
From: 최유호
Date: Fri May 29 2026 - 16:30:03 EST
On Fri, 29 May 2026 at 12:00, SeongJae Park <sj@xxxxxxxxxx> wrote:
> Thank you for clarifying, Yuho. I think the current cleanup is ok, but I
> understand it is confusing to read. Apparently that confused you at least, and
> that's not ok. What about adding a comment explaining the context?
Thank you for the explanation.
That makes sense. Looking again, I noticed the same retry-time cleanup
pattern is also used in lru_sort.c and reclaim.c, so the behavior
seems intentional.
I'll send v2 patch adding a comment explaining deferred cleanup and
retry-time handling.
Best,
Yuho