[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: why cannot block inside interrupt context
From:       Li Xinyi <lxinyi () gmail ! com>
Date:       2005-01-27 23:24:06
Message-ID: 41F97816.7060506 () gmail ! com
[Download RAW message or body]

Russell King - ARM Linux wrote:
 > Define "block".  Do you mean "sleep" ?
 >

Yes, I mean sleep. More precisely, why cannot sleep inside an ISR.

Andreas Orfanos wrote:
 > However, interrupts can be interrupted by higher priority
 > interrupts. If you block inside interrupt you might miss other coming
 > interrupts.
 >

What if the ISR goes sleep with local interrupts enabled, i.e. the ISR 
does not require SA_INTERRUPT.

Thanks,
Li Xinyi

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:       http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic