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 |
What is pass by value and pass by reference? How are structure passed as arguments?
You have two computers, and you want to get data from one to the other. How could you do it?
Tell me what is the need for dmac in es?
Tell me what is top half & bottom half of a kernel?
List out some of the commonly found errors in Embedded Systems?
What is priority inheritance?
Explain what is interrupt latency? How can you reduce it?
Can you name any code testing tools?
If you buy some rtos, what are the features you look for in?
Explain the properties of a object oriented programming language.
Explain the difference between mutexes vs semaphores?
Why continuous integration is important?