Tasklet usage?
From: Pierre Ossman
Date: Fri Oct 15 2004 - 08:15:46 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/