Files
linux/kernel
Peter Zijlstra a01353cf18 cpuidle: Fix ct_idle_*() usage
The whole disable-RCU, enable-IRQS dance is very intricate since
changing IRQ state is traced, which depends on RCU.

Add two helpers for the cpuidle case that mirror the entry code:

  ct_cpuidle_enter()
  ct_cpuidle_exit()

And fix all the cases where the enter/exit dance was buggy.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Tested-by: Ulf Hansson <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2023-01-13 11:48:15 +01:00
..
2022-12-02 11:25:00 +01:00
2022-12-21 14:31:52 -08:00
2023-01-13 11:48:15 +01:00
2023-01-13 11:48:15 +01:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
…
…
…
…
2022-11-15 00:42:02 -08:00
…
…
2022-06-29 13:07:16 +02:00
2022-12-27 12:52:10 +01:00
…
…
…
2022-02-25 09:36:06 +01:00
…
…
…
…