Re: [PATCH 1/6] sched/fair: Use guard(rcu) for sched_domain RCU sections
From: Steven Rostedt
Date: Tue Apr 28 2026 - 10:47:23 EST
On Tue, 28 Apr 2026 16:26:02 +0200
Andrea Righi <arighi@xxxxxxxxxx> 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