Commit bcac1d65 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Sebastian Andrzej Siewior
Browse files

irqwork: Move irq safe work to irq context



On architectures where arch_irq_work_has_interrupt() returns false, we
end up running the irq safe work from the softirq context. That
results in a potential deadlock in the scheduler irq work which
expects that function to be called with interrupts disabled.

Split the irq_work_tick() function into a hard and soft variant. Call
the hard variant from the tick interrupt and add the soft variant to
the timer softirq.

Reported-and-tested-by: default avatarYanjiang Jin <yanjiang.jin@windriver.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: stable-rt@vger.kernel.org
parent 7d8d0013
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment