Is tasklets or workqueues or softirqs are scheduled by the
scheduler?
Answers were Sorted based on User's Feedback
Answer / bharat bhushan
I do not think writing answer no is appropriate. Just
justification is needed.
There are three context in linux kernel. Process, Bottom
Half and interrupt. BH as literally is deferred in linux
2.5.??. Read Robert Love, Linux Kernel Development Ch 7.
BH can be one out of these. { Softirqs, Tasklets,
Workqueues}. We can schedule if something/someone goes to
sleep. That is how linux scheduler gets invoked. As you
know{?), interrupt (1st half), Softirq does not go to sleep.
So it is not right to say, we can schedule from Interrupt
Context. New implementation like Workqueues can go to sleep.
So, here we can schedule.
What about tasklets?
Tasklets runs as softirq ( I think SOFTIRQ_TASKLET_HI and
SOFTIRQ_TASKLET_??), so can not sleep.
| Is This Answer Correct ? | 4 Yes | 0 No |
How to reduce function call overhead in arm based systems
Explain me what are the different types of system involved in embedded system?
How does combination of functions reduce memory requirements in embedded systems?
Tell me what is the difference between hard real-time and soft real-time os?
What are the different types of system involved in embedded system?
What is the use of having the const qualifier?
How does the addition of service orientation change systems? When is it appropriate to use?
Tell me why do we need virtual device drivers when we have physical device drivers?
What is priority inheritance?
Why is java used in embedded systems?
As you know a vast majority of high performance embedded systems today use risc architecture why?
What are the most common errors you've found in embedded systems?