Hi All,
I have a doubt regarding the threaded interrupt handing
mechanism.
what is the kernel context of execution while executing interrupt thread.
if i check for macro
in_irq() or in_interrupt() withing handler thread , my understanding is
that they both are going to return me 0 (since we are in kernel thread),
as threads runs in process context.
Also, since they are "kernel threads", they must be schedulable enteties.
what conceptually deviated me from my understanding is one of the driver
which had a threaded interrupt mechanism and when i checked
in_interrupt() macro, it returned me a non zero value so i am a bit
confused.
thanks in advance.
Vishwas S
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies