Re: [PATCH V4 3/4] block: queue work on unbound wq

From: Viresh Kumar
Date: Fri Apr 05 2013 - 05:47:24 EST


On 4 April 2013 03:24, Tejun Heo <tj@xxxxxxxxxx> wrote:
> Not a call, probably a module_param() so that it can be switched
> on/off during boot. You can make the param writable so that it can be
> flipped run-time but updating existing workqueues would be non-trivial
> and I don't think it's gonna be worthwhile.

module_param()?? We can't compile kernel/workqueue.c as a module and
hence i went with #define + a variable with functions to set/reset it...

I am not looking to update all existing workqueues to use it but workqueues
which are affecting power for us... And if there are some very very
performance critical ones, then we must better use queue_work_on() for
them to make it more clear.
--
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/