Discussion
A tasklet differs from a workqueue in that a tasklet
Answer: D
Correct answer: runs in interrupt context and may not sleep
A tasklet is deferred but still in interrupt context, so it must not sleep and runs soon after the handler returns. A workqueue item runs in process context on a kernel thread and may sleep, which is what makes it the right choice for work needing to block. That difference decides between them.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development