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

If your database was under a lot of strain, what are the first few things you might consider to speed it up?

0 Answers  


Do you know what is priority inversion?

0 Answers  


Explain the difference between risc and cisc processor?

0 Answers  


Explain me can we use printf inside isr?

0 Answers  


What is the function of simple thread poll in embedded system?

0 Answers  






Give an example of troubleshooting on embedded targets. Explain the process step-by-step.

0 Answers  


what is plc system

3 Answers  


What are the different types of buses used by the embedded systems?

0 Answers  


Tell me what is difference between binary semaphore and mutex?

0 Answers  


Why is the single responsibility principle important?

0 Answers  


look at following code void foo(void) { unsigned int a = 6; int b = -20; int c = (a+b > 6) ? 1:0; } o/p is 1 why explain promotion rules

1 Answers  


What is the repository pattern? The factory pattern? Why are patterns important?

0 Answers  


Categories