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

From: Daniel Walker
Date: Mon Feb 02 2009 - 09:49:20 EST


On Tue, 2009-01-27 at 01:17 +0100, Frederic Weisbecker wrote:

> All of the workqueues with 0 work inserted do nothing.
> For several reasons:
>
> _ Unneeded built drivers for my system that create workqueue(s) when they init
> _ Services which need their own workqueue, for several reasons, but who receive
> very rare jobs (often never)
> _ ...?
>

Some of the workqueues you have on your system can be removed just by
tuning your kernel config. It's more desirable to be able to remove the
whole unused feature since that's all unused memory beyond just
thread ..

Daniel

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