Welcome to NYCU CSIT Mirror site

Locking Between Two Hard IRQ Handlers

4.2. Locking Between Two Hard IRQ Handlers

It is rare to have to share data between two IRQ handlers, but if you do, spin_lock_irqsave() should be used: it is architecture-specific whether all interrupts are disabled inside irq handlers themselves.