Skip to contentSkip to conversation

Bottom halves, task queues invokation

DISCUSSION Nirranjan.K 2 participants 2 messages Sep 23, 2001 – Sep 24, 2001

lore
Share & tools
lore
#0 lore raw

In case of

kernel thread is running on behalf of user process. In meantime a timer interrupt arrives(slow interrupt). Now after end of timer interrupt are Bottom halves, task queues invoked ? (offcourse Scheduler is not invoked as kernel is not pre emptive)

Please clarify .

Thanks,
Nirranjan.K

#1 lore raw
Quoted 6 lines · Nirranjan.K

In case of

kernel thread is running on behalf of user process. In meantime a timer interrupt arrives(slow interrupt). Now after end of timer interrupt are Bottom halves, task queues invoked ? (offcourse Scheduler is not invoked as kernel is not pre emptive)

I'm not sure I understand your question, but bottom halves and tasklets do not pre-empt the kernel. So if a timer interrupts the kernel, and the timer handler schedules a tasklet, then after the timer handler exists, AND after the kernel exists, that's when the tasklet is run.