>
> What about shared interrupts? How are they going to be treated? With the
> spl leaving the arena it somehow looks feasible to run one interrupt
> source on two different threads if there are two pieces of hardware
> attached to the same interrupt line.
>
> >From what I understood from dfr, when switching away from an interrupt
> handler it is converted into a full thread. When the second piece of
> hardware fires an interrupt it could then run at the same time.
I thought of this almost immediately - it's a bad idea though because it
makes it hard to determine when to EOI an interrupt.
If you expect to perform significant processing in your interrupt
handler, you should consider a taskq.
--
\\ Give a man a fish, and you feed him for a day. \\ Mike Smith
\\ Tell him he should learn how to fish himself, \\ [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime. \\ [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message