Thread (106 messages) 106 messages, 18 authors, 2022-07-30

Re: [PATCH 34/36] cpuidle,omap3: Push RCU-idle into omap_sram_idle()

From: Peter Zijlstra <peterz@infradead.org>
Date: 2022-06-08 15:15:17
Also in: linux-acpi, 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, rcu, sparclinux, virtualization, xen-devel

On Wed, Jun 08, 2022 at 04:27:57PM +0200, Peter Zijlstra wrote:
quoted hunk ↗ jump to hunk
@@ -254,11 +255,18 @@ void omap_sram_idle(void)
 	 */
 	if (save_state)
 		omap34xx_save_context(omap3_arm_context);
+
+	if (rcuidle)
+		cpuidle_rcu_enter();
+
 	if (save_state == 1 || save_state == 3)
 		cpu_suspend(save_state, omap34xx_do_sram_idle);
 	else
 		omap34xx_do_sram_idle(save_state);
 
+	if (rcuidle)
+		rcuidle_rcu_exit();
*sigh* so much for this having been exposed to the robots for >2 days :/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help