[PATCH v2 8/8] security/landlock: convert thread iterator to for_each_thread_rculock
SJ Park
sj at kernel.org
Mon Sep 7 21:44:28 UTC 2026
On Mon, 7 Sep 2026 16:13:34 +0800 Ye Liu <ye.liu at linux.dev> wrote:
> From: Ye Liu <liuye at 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 at kylinos.cn>
> Reviewed-by: Justin Suess <utilityemal77 at gmail.com>
> Reviewed-by: Günther Noack <gnoack3000 at gmail.com>
Reviewed-by: SJ Park <sj at kernel.org>
Thanks,
SJ
[...]
More information about the Linux-security-module-archive
mailing list