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

Tell me how does input/output bus functions?

0 Answers  


What is inversion of control?

0 Answers  


How are local and global variables are allocated by compiler.

0 Answers  


What is endianness of a system and how do different systems communicate with each other?

0 Answers  


Why would you choose java in embedded systems?

0 Answers  






Explain some of the commonly found errors in embedded systems?

0 Answers  


what is a pure function in arm terminology?

0 Answers  


What is yagni? Is this list of questions an example?

0 Answers  


Tell me what is the function of dma controlled in embedded system?

0 Answers  


Describe a time when you collaborated with designers and engineers to deploy a new product. What was your role?

0 Answers  


Why are interfaces important?

0 Answers  


Explain the concept of separation of concerns and it's pros and cons.

0 Answers  


Categories