Thread (29 messages) 29 messages, 7 authors, 2008-09-24

Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver

From: Arnd Bergmann <arnd@arndb.de>
Date: 2008-08-29 08:57:38
Also in: lkml

On Friday 29 August 2008, Li Yang wrote:
=20
quoted
Not a problem, but an observation: Most new code uses work queues inste=
ad
quoted
of tasklets these days, which gives you more predictable real time
latencies.
If you don't have a specific reason to prefer a tasklet, just use
a workqueue here.
=20
Is this truly a trend? =A0Work queue is more flexible but it has higher
latency. =A0Why are work queues preferred?
Most drivers don't need the low irq to bottom half latency. As I said,
not a problem at all, just my observation. In 2.6.27, we have around
three times more new workqueue usages than new tasklet usages. My
feeling from doing reviews was that it would be closer to a factor
of ten, but I guess I was wrong in that.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help