Re: [patch 1/1] genirq: Disable interrupts for force threaded handlers

From
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date
2021-03-18 08:52:47
Also in
linux-serial, lkml
Reply to
Johan Hovold, 2021-03-17
On 2021-03-17 17:23:39 [+0100], Johan Hovold wrote:
quoted
quoted
thread(irq_A)
  irq_handler(A)
    spin_lock(&foo->lock);

interrupt(irq_B)
  irq_handler(B)
    spin_lock(&foo->lock);
It will not because both threads will wake_up(thread).
Note that the above says "interrupt(irq_B)" suggesting it's a
non-threaded interrupt unlike irq_A.
I missed that bit, thanks.

Sebastian
Thread (5 messages) 5 messages, 3 authors, last reply 2021-03-18
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