pm_wq work queue is used for runtime suspend/resume work, these functions are not bound to run on specific CPUs. Having unbounded type will reduce the waiting time.
Signed-off-by: Sanjay Singh Rawat sanjay.rawat@linaro.org ---
Need to test on a full runtime supported hardware --- kernel/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/power/main.c b/kernel/power/main.c index 1d1bf63..8212528 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -622,7 +622,7 @@ EXPORT_SYMBOL_GPL(pm_wq);
static int __init pm_start_workqueue(void) { - pm_wq = alloc_workqueue("pm", WQ_FREEZABLE, 0); + pm_wq = alloc_workqueue("pm", WQ_FREEZABLE | WQ_UNBOUND, 0);
return pm_wq ? 0 : -ENOMEM; }