public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Tasklet usage?
@ 2004-10-15 13:14 Pierre Ossman
  2004-10-15 13:32 ` Neil Horman
  2004-10-16 15:17 ` Pierre Ossman
  0 siblings, 2 replies; 10+ messages in thread
From: Pierre Ossman @ 2004-10-15 13:14 UTC (permalink / raw)
  To: LKML

My driver needs to spend a lot of time inside the interrupt handler 
(draining a FIFO). I suspect this might cause problems blocking other 
interrupt handlers so I was thinking about moving this into a tasklet.
Not being to familiar with tasklets, a few questions pop up.

* Will a tasklet scheduled from the interrupt handler be executed as 
soon as interrupt handling is done?
* Can tasklets be preempted?
* If a tasklet gets scheduled while running, will it be executed once 
more? (Needed if I get another FIFO interrupt while the tasklet is just 
exiting).

The FIFO is a bit small so time is of the essence. That's why this 
routine is in the interrupt handler to begin with.

Rgds
Pierre Ossman

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <fa.dvqma04.n40gos@ifi.uio.no>]
[parent not found: <fa.hf0cjfr.n3qt2d@ifi.uio.no>]

end of thread, other threads:[~2004-10-16 17:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 13:14 Tasklet usage? Pierre Ossman
2004-10-15 13:32 ` Neil Horman
2004-10-15 13:46   ` Pierre Ossman
2004-10-15 14:09     ` Neil Horman
2004-10-16 15:17 ` Pierre Ossman
2004-10-16 16:03   ` Roland Dreier
2004-10-16 16:36     ` Pierre Ossman
2004-10-16 17:51       ` Roland Dreier
     [not found] <fa.dvqma04.n40gos@ifi.uio.no>
2004-10-16  1:46 ` Robert Hancock
     [not found] <fa.hf0cjfr.n3qt2d@ifi.uio.no>
     [not found] ` <fa.doac9ep.1ckig8r@ifi.uio.no>
2004-10-16 17:53   ` Robert Hancock

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