Re: [PATCH 2/9] sched,idle,rcu: Push rcu_idle deeper into the idle path

From: Steven Rostedt
Date: Thu Aug 20 2020 - 10:07:03 EST


On Thu, 20 Aug 2020 09:30:33 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> +++ b/drivers/cpuidle/cpuidle.c
> @@ -145,22 +145,27 @@ static void enter_s2idle_proper(struct c

[..]
> drv->states[index].enter_s2idle(dev, drv, index);
> - WARN_ON(!irqs_disabled());
> + if (WARN_ON(!irqs_disabled()))
> + local_irq_disable();
> /*

This looks like a fix that should go in as a separate patch. As it
looks unrelated to this patch.

-- Steve