[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200808291057.20612.arnd@arndb.de>
Date: Fri, 29 Aug 2008 10:57:20 +0200
From: Arnd Bergmann <arnd@...db.de>
To: leoli@...escale.com
Cc: linuxppc-dev@...abs.org, greg@...ah.com, linux-usb@...r.kernel.org,
dbrownell@...rs.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controller driver
On Friday 29 August 2008, Li Yang wrote:
>
> > Not a problem, but an observation: Most new code uses work queues instead
> > 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.
>
> Is this truly a trend? Work queue is more flexible but it has higher
> latency. Why 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 <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists