Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

From: Takashi Iwai
Date: Tue Jun 26 2007 - 09:16:27 EST


At Tue, 26 Jun 2007 15:03:23 +0200,
Clemens Ladisch wrote:
>
> Ingo Molnar wrote:
> > so how about the following, different approach: anyone who has a tasklet
> > in any performance-sensitive codepath, please yell now.
>
> ALSA uses quite a few tasklets in the framework and in several
> drivers. Since we
> care very much about low latency, many places use tasklet_hi_*.

I think we can replace from tasklet to workqueue in many card-driver
codes, at least. Many of them use tasklet simply because there was
no workq at that time. It's the correct move for such drivers.

But, yes, the code using tasklet in the core part (especially in the
timer part) requires as low latency as possible.


Takashi
-
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/