Thread (18 messages) 18 messages, 2 authors, 23d ago

Re: [PATCH v3 12/15] unwind: convert process/thread iterator to for_each_process_thread_rculock

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-09-11 12:57:04
Also in: linux-fsdevel, linux-mm, linux-pm, linux-trace-kernel, lkml, rcu

On Fri, 11 Sep 2026 15:57:57 +0800
Ye Liu [off-list ref] wrote:
From: Ye Liu <liuye@kylinos.cn>

Replace guard(rcu)() combined with for_each_process_thread() loop in
kernel/unwind/deferred.c with for_each_process_thread_rculock(),
which scopes the RCU read lock to the loop body via scoped_guard(rcu).

No functional change.

Signed-off-by: Ye Liu <liuye@kylinos.cn>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: SJ Park <sj@kernel.org>
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help