我对tasklet的了解:
我的问题:
答案 0 :(得分:1)
*Since in bottom half all interrupts are enabled, what happened If a tasklet is running and in between any interrupt comes. (If interrupts are disabled during tasklet execution then what is the benefit of tasklet)?*
据我所知,Tasklet(基于软IRQ构建)在软IRQ上下文中运行,这实际上意味着它在进程被Hard IRQ中断时运行的任何进程的上下文中运行(因此它是借用堆栈),所以再次中断将返回到tasklet执行。
*Is it correct to say that tasklets are softirq with priority level 0(Hi priority tasklet) and priority level 6(Normal taslet)?*
是的,tasklet本质上是基于Soft IRQ构建的包装器。