Urgent interrupt thread

Ninad Adi adi.ninad at gmail.com
Fri Aug 12 07:45:23 UTC 2011


So in the routine bus_setup_intr the isr runs as
ithread but then if its a thread why its not allowed to sleep it aquires
mutex lock , disables
all interrupts and  continues.

My last question is in that case do we need to
Use taskqueues or we can completely write the
Isr in one thread itself without using deferring
Primitives. I.e can we refrain from using deferring mechanism.


awaiting the reply.

Ninad Adi.


On Friday, August 12, 2011, Julian Elischer <julian at freebsd.org> wrote:
> On 8/11/11 3:13 AM, Ninad Adi wrote:
>>
>> To,
>> Freebsd greats,
>>
>> Dear sirs,
>> In freebsd 8.2 kernel architecture
>> Do interrupt handlers run as threads by
>> default or do they run in interrupt context ??
>>
>> Ninad.
>> Freebsd developer.
>> _______________________________________________
>> freebsd-threads at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-threads <
http://lists.freebsd.org/mailman/listinfo/freebsd-threads>
>> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org
"
>>
> you have the choice to do either.
>
>
> key words to look up are 'fast' interrupts and "interrrupt threads"
>
> I've not used either for many years. so I hope that helps enough that you
can find hte right answer.
>
>
>
>


More information about the freebsd-threads mailing list