Re: [PATCH 1/6] sched/fair: Use guard(rcu) for sched_domain RCU sections

Steven Rostedt
2026-04-28T14:29:24Z

On Tue, 28 Apr 2026 16:26:02 +0200
Andrea Righi <arighi@nvidia.com> wrote:

> > > with IRQs disabled, we can get rid of that rcu_read_lock() entirely.
> >
> > Then we need to add a lockdep_assert_irqs_disabled() here too.
>
> Yeah, initially I suggested to add a lockdep_assert_irqs_disabled() in
> nohz_balancer_kick() but what we care about here is RCU safety, if we do
> something unsafe in the future we should be able to catch that with
> rcu_dererference_all(), as pointed by Peter, right?

Yeah, I posted this before I saw Peter's reply.

-- Steve