Thread (45 messages) flat view 45 messages, 8 authors, 4h ago

Re: [PATCH v2 8/8] security/landlock: convert thread iterator to for_each_thread_rculock

From: Gregory Price <gourry@gourry.net>
Date: 2026-09-07 15:49:19
Also in: linux-fsdevel, linux-mm, linux-pm, linux-security-module, lkml, rcu

On Mon, Sep 07, 2026 at 04:13:34PM +0800, Ye Liu wrote:
From: Ye Liu <liuye@kylinos.cn>

Replace guard(rcu)() + for_each_thread() with for_each_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>
Reviewed-by: Justin Suess <redacted>
Reviewed-by: Günther Noack <redacted>
Reviewed-by: Gregory Price (Meta) <gourry@gourry.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help