<div dir="ltr">Hi All,<div> I have a doubt regarding the threaded interrupt handing mechanism.</div><div>what is the kernel context of execution while executing interrupt thread.</div><div>if i check for macro</div>
<div>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),</div><div>as threads runs in process context.</div><div><br></div><div>
Also, since they are "kernel threads", they must be schedulable enteties.</div><div>what conceptually deviated me from my understanding is one of the driver which had a threaded interrupt mechanism and when i checked</div>
<div> </div><div>in_interrupt() macro, it returned me a non zero value so i am a bit confused.</div><div><br></div><div>thanks in advance.</div><div><br></div><div>Vishwas S</div><div> </div><div><br></div><div><br></div>
<div><br><div class="gmail_extra"><br><br></div></div></div>