aboutsummaryrefslogtreecommitdiff
path: root/kernel/gcov/clang.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2021-09-06 13:30:34 +0200
committerThomas Gleixner <[email protected]>2021-09-09 10:36:16 +0200
commit9848417926353daa59d2b05eb26e185063dbac6e (patch)
tree8741a66717377e3f59d72416ea4e645be9268481 /kernel/gcov/clang.c
parente681dcbaa4b284454fecd09617f8b24231448446 (diff)
sched/idle: Make the idle timer expire in hard interrupt context
The intel powerclamp driver will setup a per-CPU worker with RT priority. The worker will then invoke play_idle() in which it remains in the idle poll loop until it is stopped by the timer it started earlier. That timer needs to expire in hard interrupt context on PREEMPT_RT. Otherwise the timer will expire in ksoftirqd as a SOFT timer but that task won't be scheduled on the CPU because its priority is lower than the priority of the worker which is in the idle loop. Always expire the idle timer in hard interrupt context. Reported-by: Thomas Gleixner <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/gcov/clang.c')
0 files changed, 0 insertions, 0 deletions