# Re: \[PATCH v2 08/44\] cpuidle,imx6: Push RCU-idle into driver

- From: Peter Zijlstra \<peterz@infradead.org\>
- Date: 2022-09-19 15:02:06 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/09/1937754
- Thread: https://ratatoskr.run/linux-alpha/2022/09/1937379/t.md

```text
On Mon, Sep 19, 2022 at 04:21:23PM +0200, Frederic Weisbecker wrote:
> On Mon, Sep 19, 2022 at 11:59:47AM +0200, Peter Zijlstra wrote:
> > Doing RCU-idle outside the driver, only to then temporarily enable it
> > again, at least twice, before going idle is daft.
> 
> Hmm, what ends up calling RCU_IDLE() here? Also what about
> cpu_do_idle()?

Both cpu_pm_enter() and cpu_cluster_pm_enter() use ct_irq_enter_irqson()
which is another way to spell RCU_NONIDLE().

```
