Skip to contentSkip to conversation

Bottom half scheduling

help G SR 2 participants 2 messages Jul 31, 2006 – Aug 1, 2006

lore
Share & tools
lore

G SR

author
#0 lore raw

Regarding Bottom half scheduling in a typical scenario.

Suppose a tasklet(bottom half) process is running and an Interrupt occured and pre-empted the tasklet. The interrupt scheduled another tasklet of different type.

The question is: Which tasklet will come into execution when the interrupt task completes?. In other words whether the pre-empted tasklet will resume its exec-
ution or the newly scheduled tasklet will execute?

#1 lore raw

Am Monday 31 July 2006 14:36 schrieb G SR:

Quoted 4 lines

The question is: Which tasklet will come into execution when the interrupt task completes?. In other words whether the pre-empted tasklet will resume its exec-
ution or the newly scheduled tasklet will execute?

The one that was interrupted will complete first, then the other one executes. Note that softirqs that are scheduled from other softirqs may get deferred to execute from ksoftirqd, at a later point in time.

	Arnd <><