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 is isr? Can they be passed any parameter and can they return a value?

0 Answers  


Mention what are the essential components of embedded system?

0 Answers  


Mention what are buses used for communication in embedded system?

0 Answers  


Tell me can a pointer be volatile?

0 Answers  


Explain the difference between risc and cisc processor?

0 Answers  






If you've integrated new software in an existing system, tell us how you evaluated and identified the requirements for this new technology.

0 Answers  


Tell me what is the need for dmac in es?

0 Answers  


What is the volatile keyword used for?

0 Answers  


Discuss the concept of yagni.

0 Answers  


What are the rules followed by mutexes?

0 Answers  


What typecast is applied when we have a signed and an unsigned int in an expression?

0 Answers  


How do you react to people criticizing your code/documents?

0 Answers  


Categories