From patchwork Tue Mar 25 10:35:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanjay Singh Rawat X-Patchwork-Id: 27020 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1610120539 for ; Tue, 25 Mar 2014 10:36:08 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wn1sf1017718obc.1 for ; Tue, 25 Mar 2014 03:36:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=iYrZSetf1dI7+0OV77mo9QRDs00eLVEzWCYIYXGeayI=; b=iYROXr3FTF3hRXSm+er1q0cCkGI+LMWY7f3t7PsxwnB1muKsb0PbCCmwn0RoTaxolH hvvGCwVnj5F54yRbf3AWKQLCd1kt6a+wDMtHcg7Gfk3VhxIY/w9F2dGd7H19uPJNh6mc OG7O7oiZFiqO42/thiH/1ALE6op32dC0VzAdUOelHkXOUX76YSZK5Jy449Svgzcub2S5 ZbmHFxL5JWK2MfQ9uD29PE989HcexqVwcFjUxJsWx6B3ws3yx8Urlh3oy/laArCXI4ts isX4YiS9KDEavjISHOUOAZcgoDZxMeJWmTGwZxvMLcLWh6ec0lPtepXMtnwDMaK8/5rK apQA== X-Gm-Message-State: ALoCoQnriMILbccqZzkbEYtnM9KzbO83tM6WJ3EWgv6Pct6DAgvpzeIS28xcox6VhFMz+oY/g9a9 X-Received: by 10.50.33.101 with SMTP id q5mr7658617igi.3.1395743767630; Tue, 25 Mar 2014 03:36:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.100.137 with SMTP id s9ls193527qge.57.gmail; Tue, 25 Mar 2014 03:36:07 -0700 (PDT) X-Received: by 10.220.250.203 with SMTP id mp11mr26764557vcb.2.1395743767512; Tue, 25 Mar 2014 03:36:07 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id bp12si3599669veb.27.2014.03.25.03.36.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 03:36:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id oz11so266388veb.19 for ; Tue, 25 Mar 2014 03:36:07 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr55350251vcb.0.1395743767454; Tue, 25 Mar 2014 03:36:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.78.9 with SMTP id i9csp292937vck; Tue, 25 Mar 2014 03:36:06 -0700 (PDT) X-Received: by 10.68.234.2 with SMTP id ua2mr77606437pbc.81.1395743766511; Tue, 25 Mar 2014 03:36:06 -0700 (PDT) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx.google.com with ESMTPS id k1si6513914pao.388.2014.03.25.03.36.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 03:36:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.54 is neither permitted nor denied by best guess record for domain of sanjay.rawat@linaro.org) client-ip=209.85.160.54; Received: by mail-pb0-f54.google.com with SMTP id ma3so263859pbc.13 for ; Tue, 25 Mar 2014 03:36:06 -0700 (PDT) X-Received: by 10.68.248.7 with SMTP id yi7mr78739450pbc.31.1395743765997; Tue, 25 Mar 2014 03:36:05 -0700 (PDT) Received: from srawat-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id cz3sm42831003pbc.9.2014.03.25.03.36.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 03:36:05 -0700 (PDT) From: Sanjay Singh Rawat To: linaro-kernel@lists.linaro.org Cc: Sanjay Singh Rawat Subject: [RFC PATCH] PM: change pm work queue to unbounded type Date: Tue, 25 Mar 2014 16:05:42 +0530 Message-Id: <1395743742-15314-1-git-send-email-sanjay.rawat@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sanjay.rawat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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; }