diff options
| author | SJ Park <sj@kernel.org> | 2026-07-06 07:06:24 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-04 19:18:31 -0700 |
| commit | d079b6b890d128c396ee42320c027b7dd3c0a2a7 (patch) | |
| tree | cb74a3169ebfd31db0f5c24807589b734067582f /scripts/objdiff | |
| parent | 3e734a0514f9d365773e91abe941decfc3e9331c (diff) | |
mm/damon/core: wait ctx stop in damon_call() before reruning an error
damon_call() failure means the DAMON context started its termination. The
termination is asynchronously done in kdamond thread. The caller's error
handling should handle the race, too. It is complicated and easy to make
mistakes.
Update damon_call() to ensure the context is stopped in the case, by
waiting until the completion is confirmed.
Link: https://lore.kernel.org/20260706140628.87414-10-sj@kernel.org
Signed-off-by: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
