public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [help] Bottom half scheduling
@ 2006-07-31 12:36 G SR
  2006-08-01  8:15 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: G SR @ 2006-07-31 12:36 UTC (permalink / raw)
  To: linux-kernel

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [help] Bottom half scheduling
  2006-07-31 12:36 [help] Bottom half scheduling G SR
@ 2006-08-01  8:15 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2006-08-01  8:15 UTC (permalink / raw)
  To: G SR; +Cc: linux-kernel

Am Monday 31 July 2006 14:36 schrieb G SR:
> 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 <><

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-01  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 12:36 [help] Bottom half scheduling G SR
2006-08-01  8:15 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox