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 |
Describe, in as much detail as you think is relevant, as deeply as you can, what happens when I type "cnn.com" into a browser and press "go".
Please explain what is semaphore?
What are the differences between stateless and stateful systems, and impacts of state on parallelism.
Explain me what is the difference between microprocessor and microcontroller?
Explain the difference between "set" logic, and "procedural" logic.
Tell me what are buses used for communication in embedded system?
What is refactoring? Have you used it and it is important? Name three common refactorings.
What software languages have you used to design, develop, and debug software application interfaces?
What is the significance of watchdog timer in es?
Which is better a char, short or int type for optimization?
Explain me how does the interrupt architecture works?
Describe the life-cycle of a software development (application design) process.