Messages in this thread | | | Date | Mon, 1 Apr 2013 12:01:05 +0530 | Subject | Re: [PATCH V4 3/4] block: queue work on unbound wq | From | Viresh Kumar <> |
| |
Hi Tejun,
On 31 March 2013 23:49, Tejun Heo <tj@kernel.org> wrote: > So, let's please introduce a new flag to mark these workqueues, say, > WQ_UNBOUND_FOR_POWER_SAVE or whatever (please come up with a better > name) and provide a compile time switch with boot time override.
Just wanted to make this clear before writing it:
You want me to do something like (With better names):
int wq_unbound_for_power_save_enabled = 0;
#ifdef CONFIG_WQ_UNBOUND_FOR_POWER_SAVE #define WQ_UNBOUND_FOR_POWER_SAVE wq_unbound_for_power_save_enabled #else #define WQ_UNBOUND_FOR_POWER_SAVE 0
And provide a call to enable/disable wq_unbound_for_power_save_enabled ??
| |