The things I know about tasklet:
- Tasklet runs with all interrupt enabled.
- The tasklet runs in interrupt context.
- It can't be sleep.
- It runs in atomic way.
- it has the assurance to be scheduled never late than next tick.
My questions:
- 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)?
- Why is the surety that tasklet will always be scheduled upto next tick?
- Is it correct to say that tasklets are softirq with priority level 0(Hi priority tasklet) and priority level 6(Normal taslet)?