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

> From: Ye Liu <[email protected]>
> 
> Replace the manual rcu_read_lock()/rcu_read_unlock() pair combined
> with for_each_process() loop in lib/ with for_each_process_rculock(),
> which scopes 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