Re: [PATCH v4 12/13] rv: Fix read_lock scope in per-task DA cleanup
From: Steven Rostedt
Date: Wed Jul 01 2026 - 15:27:11 EST
On Mon, 1 Jun 2026 17:38:39 +0200
Gabriele Monaco <gmonaco@xxxxxxxxxx> wrote:
> The da_monitor_reset_all() function for per-task monitors takes
> tasklist_lock while iterating over tasks, then keeps it also while
> iterating over idle tasks (one per CPU). The latter is not necessary
> since the lock needs to guard only for_each_process_thread().
>
> Use a scoped_guard for more compact syntax and adjust the scope only
> where the lock is necessary.
>
> Reviewed-by: Wen Yang <wen.yang@xxxxxxxxx>
> Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>
Hmm, this and patch 13 didn't get applied. Do you plan on sending them later?
-- Steve