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 type of scheduling is there in rtos?
What is the need for having multibyte data input and output buffers in case of device ports?
How do you learn about the latest technology trends?
Tell me what is difference between binary semaphore and mutex?
Explain what happens when recursion functions are declared inline?
Tell me why does pre-emptive multi-threading used to solve the central controller problem?
How can you reduce interrupt latency?
Tell me what are the commonly found errors in embedded systems?
What are the functional requirements that are used in the embedded systems?
How does input/output bus functions?
Do you know what is the function of watchdog timer in embedded system?
Can we use any function inside isr?