On Mon,  7 Sep 2026 16:13:31 +0800 Ye Liu <[email protected]> wrote:

> From: Ye Liu <[email protected]>
> 
> Replace the manual rcu_read_lock()/rcu_read_unlock() and guard(rcu)
> pairs combined with for_each_process(), for_each_thread() and
> for_each_process_thread() loops across kernel/ with the
> for_each_*_rculock() macros, which scope the RCU read lock to the
> loop body via scoped_guard(rcu).
> 
> No functional change.

Looks good and correct to me.

> 
> Signed-off-by: Ye Liu <[email protected]>
> Acked-by: Michal Hocko <[email protected]>

Reviewed-by: SJ Park <[email protected]>


Thanks,
SJ

[...]

Reply via email to