]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: core: using power_efficient_wq for thermal worker
authorJeson Gao <jeson.gao@unisoc.com>
Tue, 4 Sep 2018 07:14:08 +0000 (15:14 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 10 Oct 2018 13:48:50 +0000 (21:48 +0800)
commit89c05ef9d58ef0bda26590068cb372bc53a8cf89
tree888dee70bdfba3f0812a3943ea488b2e40fbfe58
parent71ff43c1c379afaf09e0b3cc92effce4a32a28de
thermal: core: using power_efficient_wq for thermal worker

For SMP systems, thermal worker should use power_efficient_wq in power
saving mode, that will make scheduler more flexible on selecting an active
core for running work handler to avoid keeping work handler always
running on a single core, that will save some power.

Even if 'power_efficient_wq' relevant configs are disabled
'system_freezable_power_efficient_wq' is identical to system_freezable_wq,
behavior is unchanged.

Signed-off-by: Jeson Gao <jeson.gao@unisoc.com>
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c