arm64: defconfig: Enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Aug 2017 10:28:41 +0000 (15:58 +0530)
committerArnd Bergmann <arnd@arndb.de>
Tue, 15 Aug 2017 16:00:22 +0000 (18:00 +0200)
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>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/configs/defconfig

index b4ca115b3be1c0a25121517e1e9e598d26c7c0b1..b13621e3bb199a0befe8e1e871130fc7b3b571aa 100644 (file)
@@ -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