Re: [RFC v2][PATCH] create workqueue threads only when needed

From: Peter Zijlstra
Date: Wed Jan 28 2009 - 03:16:37 EST


On Wed, 2009-01-28 at 04:02 +0100, Oleg Nesterov wrote:
>
> I must admit, I don't like this patch. Perhaps I am wrong, mostly I
> dislike the complications it adds.
>
> Anybody else please vote for this change?

Because you asked ;-)

I too am not particularly fond of it, for much the same reasons you
mentioned.

While I think its good to reduce the number of random kernel threads,
I'm afraid this isn't a good way to do so.

Why does everybody and his pony create their own workqueue, is that
really because it deadlocks with keventd, or are there other reasons, if
so, which, and can we solve those?

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