Re: [PATCH 1/5] sched/fair: Drop redundant RCU read lock in NOHZ kick path

Dietmar Eggemann
2026-05-05T09:15:28Z

On 28.04.26 16:41, Andrea Righi wrote:

[...]

> @@ -12799,10 +12795,10 @@ static void nohz_balancer_kick(struct rq *rq)
> *
> * Skip the LLC logic because it's not relevant in that case.
> */
> - goto unlock;
> + goto out;
> }
>
> - sds = rcu_dereference_all(per_cpu(sd_llc_shared, cpu));
> + sds = rcu_dereference_all(per_cpu(sd_balance_shared, cpu));

nit: sd_balance_shared is only defined in 2/5. …