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 |
Explain what is interrupt latency? How can you reduce it?
How many types of ipc mechanism you know?
Can a pointer be volatile ?
What is the difference between asynchrony and concurrency?
Tell me can we use any function inside isr?
Tell me what is a watchdog timer?
What is size of character, integer, integer pointer, character pointer?
Are you still writing code? Do you love it?
Tell me what are the qualifiers in c?
Implement a <basic data structure> using <some language> on <paper|whiteboard|notepad>.
Design a circuit for A + abs(B) = C, where A and B are 4 bits wide and 2?s complement representation
Can you name any code testing tools?