linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: Enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT
@ 2017-08-03 10:28 Viresh Kumar
  2017-08-15 15:58 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Viresh Kumar @ 2017-08-03 10:28 UTC (permalink / raw)
  To: linux-arm-kernel

commit cee22a15052f ("workqueues: Introduce new flag WQ_POWER_EFFICIENT
for power oriented workqueues") introduced the concept of power
efficient workqueues (4 years back), but it was never enabled in
upstream kernel configs.

Power efficient workqueues are simply marked as "unbound," so that jobs
queued to them can run on any CPU in the system. It leaves the target
CPU selection to the scheduler, which is the best place for such
decision making. This improves power efficiency for workqueues which are
otherwise pinned to a CPU.

Enable it for ARM64 platforms as ARM platforms were the main target for
the introduction of power efficient workqueues.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f16d5097a8c7..460a7c991a52 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -88,6 +88,7 @@ CONFIG_XEN=y
 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
 CONFIG_COMPAT=y
 CONFIG_HIBERNATION=y
+CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
 CONFIG_ARM_CPUIDLE=y
 CONFIG_CPU_FREQ=y
 CONFIG_CPUFREQ_DT=y
-- 
2.13.0.71.gd7076ec9c9cb

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] arm64: defconfig: Enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT
  2017-08-03 10:28 [PATCH] arm64: defconfig: Enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT Viresh Kumar
@ 2017-08-15 15:58 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2017-08-15 15:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 3, 2017 at 12:28 PM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> commit cee22a15052f ("workqueues: Introduce new flag WQ_POWER_EFFICIENT
> for power oriented workqueues") introduced the concept of power
> efficient workqueues (4 years back), but it was never enabled in
> upstream kernel configs.
>
> Power efficient workqueues are simply marked as "unbound," so that jobs
> queued to them can run on any CPU in the system. It leaves the target
> CPU selection to the scheduler, which is the best place for such
> decision making. This improves power efficiency for workqueues which are
> otherwise pinned to a CPU.
>
> Enable it for ARM64 platforms as ARM platforms were the main target for
> the introduction of power efficient workqueues.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

Applied to next/defconfig, thanks!

     Arnd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-15 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 10:28 [PATCH] arm64: defconfig: Enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT Viresh Kumar
2017-08-15 15:58 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).