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 happens when recursion functions are declared inline?

1 Answers  


Explain what is embedded system in a computer system?

1 Answers  


What are the 4 types of inheritance relationship?

1 Answers  


Explain whether we can use semaphore or mutex or spinlock in interrupt context in linux kernel?

1 Answers  


Explain what is a watchdog timer?

1 Answers  


Tell me about 3 times you failed.

1 Answers  


What is inversion of control?

1 Answers  


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

1 Answers  


DMA deals with which address (physical/virtual addresses) ?

3 Answers   Bosch,


Tell me what are the uses of the keyword volatile?

1 Answers  


Would you call yourself a craftsman (craftsperson) and what does that word mean to you?

0 Answers  


Explain difference between risc and cisc processor?

1 Answers  


Categories