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 isr? Can they be passed any parameter and can they return a value?
Mention what are the essential components of embedded system?
Mention what are buses used for communication in embedded system?
Tell me can a pointer be volatile?
Explain the difference between risc and cisc processor?
If you've integrated new software in an existing system, tell us how you evaluated and identified the requirements for this new technology.
Tell me what is the need for dmac in es?
What is the volatile keyword used for?
Discuss the concept of yagni.
What are the rules followed by mutexes?
What typecast is applied when we have a signed and an unsigned int in an expression?
How do you react to people criticizing your code/documents?