[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0912220917270.31313@localhost.localdomain>
Date: Tue, 22 Dec 2009 09:20:40 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Peter Zijlstra <peterz@...radead.org>
cc: Tejun Heo <tj@...nel.org>,
Arjan van de Ven <arjan@...ux.intel.com>,
Jens Axboe <jens.axboe@...cle.com>,
Andi Kleen <andi@...stfloor.org>, awalls@...ix.net,
linux-kernel@...r.kernel.org, jeff@...zik.org, mingo@...e.hu,
akpm@...ux-foundation.org, rusty@...tcorp.com.au,
cl@...ux-foundation.org, dhowells@...hat.com, avi@...hat.com,
johannes@...solutions.net
Subject: Re: workqueue thing
On Tue, 22 Dec 2009, Peter Zijlstra wrote:
> On Tue, 2009-12-22 at 09:00 +0900, Tejun Heo wrote:
> >
> > Yeah, sure, it's not suited for offloading CPU intensive workloads
> > (checksumming and encryption basically). Workqueue interface was
> > never meant to be used by them - it has strong cpu affinity. We need
> > something which is more parallelism aware for those.
>
> Right, so what about cleaning that up first, then looking how many
> workqueues can be removed by converting to threaded interrupts and then
> maybe look again at some of your async things?
Peter - nobody is interested in that.
People use workqueues for other things _today_, and they have annoying
problems as they stand. It would be nice to get rid of the deadlock
issue, for example - right now the tty driver literally does crazy things,
and drops locks that it shouldn't drop due to the fact that it needs to
wait for queued work - even if the queued work it is actually waiting for
isn't the one that takes the lock!
So why do you argue about all those irrelevant things, and ask Tejun to
clean up stuff that nobody cares about, when our existing workqueues have
problems that people -do- care about and that his patches address?
So stop arguing about irrelevancies. Nobody uses workqueues for RT or for
CPU-intensive crap. It's not what they were designed for, or used for.
If you _want_ to use them for that, that is _your_ problem. Not Tejuns.
Linus
--
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