what is the advantage of enabling the interrupt in bottom halves?
Hi,
I was going through the bottom half(tasklet, workqueue, softirq) code in linux.
All have one thing common that if an instance of deferred tasklet/work is pending, the new instance of deferred tasklet/work is ignored.
For an instance if a work is queued in workqueue from the ISR and before the work has been served; the same interrupt comes again it will try to queue the work again, but schedule_work() function checks that if already work is pending, it ignores the new.
Then what is the advantage of enabling the interrupt in bottom halves?
Please somebody answer this I tried a lot but i didnot get the answer.
|