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 |
Implement a <basic data structure> using <some language> on <paper|whiteboard|notepad>.
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".
What is the size of the int, char and float data types?
Tell me what is difference between binary semaphore and mutex?
How do you react to people criticizing your code/documents?
Please explain what is interrupt latency? How can you reduce it?
can a pointer be volatile ? Explain.
Can you please explain the difference between mutexes vs semaphores?
what is difference between micro processor & micro controller ?
What is an embedded system?
Discuss the concept of yagni.
What is your experience with technical documentation?