From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH V4 3/4] block: queue work on unbound wq Date: Tue, 9 Apr 2013 15:05:16 +0530 Message-ID: References: <91239cde99aaba2715f63db1f88241d9f4a36e13.1364740180.git.viresh.kumar@linaro.org> <20130331181931.GA7533@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Tejun Heo , Jens Axboe , Robin Randhawa , linux-rt-users@vger.kernel.org, Patch Tracking , Peter Zijlstra , Liviu Dudau , linux-kernel@vger.kernel.org, Steven Rostedt , Lists linaro-kernel , Steve Bannister , airlied@redhat.com, Arvind Chauhan , mingo@redhat.com, davem@davemloft.net, Charles Garcia-Tobin To: Amit Kucheria Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org On 9 April 2013 14:48, Amit Kucheria wrote: > On Tue, Apr 9, 2013 at 1:00 PM, Viresh Kumar wrote: >> diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig >> +config WQ_POWER_EFFICIENT >> + bool "Workqueue allocated as UNBOUND for power efficiency" >> + depends on PM > > Should default to N so that existing configs don't get prompted for a choice. I thought defaults default is N if not present. I can add default n if it is required. >> diff --git a/kernel/workqueue.c b/kernel/workqueue.c >> +static bool wq_power_efficient = 0; > > 1? It should be disabled by default even if CONFIG_WQ_POWER_EFFICIENT is selected and so initialized it with zero.. Though i don't need to initialize it as default is 0.