[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Interrupt handlers and mutex
On Tue, Jan 05, 2010 at 04:04:23PM +0000, Mindaugas Rasiukevicius wrote:
> David Holland <dholland-tech%netbsd.org@localhost> wrote:
> > NetBSD also has "soft interrupts" that have more process context than
> > ordinary interrupt handlers; instead of borrowing the context of
> > whatever's running when the interrupt arrives, they run on dedicated
> > kernel threads; this means they can sleep to acquire mutexes. <...>
> On architectures which support "fast" software interrupts (e.g. x86, ARM),
> it actually borrows the context of currently running thread.
Is there some documentation on how "fast" software interrupts works ?
what happens to the borrowed thread when the soft interrupt handler
wants to sleep ?
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |