Is tasklets or workqueues or softirqs are scheduled by the
scheduler?

Answers were Sorted based on User's Feedback



Is tasklets or workqueues or softirqs are scheduled by the scheduler?..

Answer / hari!!!!!!!!!!!!!!

no

Is This Answer Correct ?    7 Yes 0 No

Is tasklets or workqueues or softirqs are scheduled by the scheduler?..

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

Post New Answer

More Embedded Systems AllOther Interview Questions

What type of scheduling is there in rtos?

0 Answers  


What is the need for having multibyte data input and output buffers in case of device ports?

0 Answers  


How do you learn about the latest technology trends?

0 Answers  


Tell me what is difference between binary semaphore and mutex?

0 Answers  


Explain what happens when recursion functions are declared inline?

0 Answers  






Tell me why does pre-emptive multi-threading used to solve the central controller problem?

0 Answers  


How can you reduce interrupt latency?

0 Answers  


Tell me what are the commonly found errors in embedded systems?

0 Answers  


What are the functional requirements that are used in the embedded systems?

0 Answers  


How does input/output bus functions?

0 Answers  


Do you know what is the function of watchdog timer in embedded system?

0 Answers  


Can we use any function inside isr?

0 Answers  


Categories