Re: linux-next: workqueues tree build failure

From: Tejun Heo
Date: Fri Nov 27 2009 - 03:42:53 EST


Hello,

11/27/2009 05:37 PM, Takashi Iwai wrote:
>> Sounds like it should be using bottom half tasklet not workqueue.
>> Tasklet is exactly designed to handle situations like this. Is there
>> any reason tasklet can't be used?
>
> Right now the h/w accessing code is using mutex. I'm not sure whether
> the deeper part might sleep, though...

Ah... I see. Using mutex from a handler where response time is
critical is strange tho. Anyways, I don't really think singlethread
will satisfy the timing requirement under loaded conditions. IMHO,
update locking and using tasklets would be the best.

Thanks.

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