Re: [PATCH v1 02/11] rcu/segcblist: Add SRCU and Tasks RCU wrapper functions

From: Frederic Weisbecker

Date: Thu Jul 09 2026 - 07:51:28 EST


Le Wed, Jun 24, 2026 at 06:23:44AM -0700, Puranjay Mohan a écrit :
> Add srcu_segcblist_advance() and srcu_segcblist_accelerate() wrappers
> that forward to the core rcu_segcblist_advance() and
> rcu_segcblist_accelerate() functions, and switch all SRCU (srcutree.c)
> and Tasks RCU (tasks.h) callers to use these wrappers.
>
> This isolates SRCU and Tasks RCU from upcoming changes to the core
> advance/accelerate functions, which will switch to struct
> rcu_gp_seq for dual normal/expedited GP tracking. Because SRCU and
> Tasks RCU use only normal GP sequences, their wrappers will maintain the
> existing unsigned long interface.
>
> No functional change.
>
> Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> Signed-off-by: Puranjay Mohan <puranjay@xxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>

--
Frederic Weisbecker
SUSE Labs