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

From
Frederic Weisbecker <frederic@kernel.org>
Date
2022-09-20 09:02:08
Also in
linux-acpi, linux-alpha, linux-arch, linux-arm-msm, linux-clk, linux-m68k, linux-mips, linux-omap, linux-perf-users, linux-pm, linux-riscv, linux-s390, linux-sh, linux-tegra, linux-um, lkml, loongarch, sparclinux
Reply to
Peter Zijlstra, 2022-09-20
On Tue, Sep 20, 2022 at 10:58:59AM +0200, Peter Zijlstra wrote:
On Mon, Sep 19, 2022 at 04:21:23PM +0200, Frederic Weisbecker wrote:
quoted
On Mon, Sep 19, 2022 at 11:59:47AM +0200, Peter Zijlstra wrote:
quoted
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()?
I've ammended patches 5-12 with a comment like:

Notably both cpu_pm_enter() and cpu_cluster_pm_enter() implicity
re-enable RCU.

(each noting the specific sites for the relevant patch).
Thanks!
Thread (88 messages) 88 messages, 13 authors, last reply 2022-11-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help