Re: [PATCH v1 03/11] rcu/segcblist: Factor out rcu_segcblist_advance_compact() helper
From: Frederic Weisbecker
Date: Thu Jul 09 2026 - 09:23:34 EST
Le Wed, Jun 24, 2026 at 06:23:45AM -0700, Puranjay Mohan a écrit :
> This commit extracts the tail-pointer cleanup and segment compaction
> logic from rcu_segcblist_advance() into a new static helper function,
> rcu_segcblist_advance_compact(). This shared logic will be reused by the
> upcoming srcu_segcblist_advance() standalone implementation, which
> cannot call the core rcu_segcblist_advance() because that function will
> use RCU-specific globals.
>
> 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