You could use a semaphore for this. Initialize it to 0, then call down() from the ioctl, and up() from the interrupt handler. If the up() happens before the down(), the down() won't go to sleep. Nigel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Interrupt/Sleep deadlock Ivan Passos
- Re: Interrupt/Sleep deadlock Matthew Dharm
- Re: Interrupt/Sleep deadlock Rusty Russell
- Re: Interrupt/Sleep deadlock Nigel Gamble
- Re: Interrupt/Sleep deadlock Ivan Passos
- Re: Interrupt/Sleep deadlock Linus Torvalds