summaryrefslogtreecommitdiff
path: root/kernel/power/process.c
diff options
context:
space:
mode:
authorKe Wang <ke.wang@spreadtrum.com>2016-09-01 10:30:26 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-09-27 21:35:36 +0300
commit77b00bc037e7c58d7a4ef791d1c7eeaf6f7a43e3 (patch)
tree000d6726dd63faad486b810b2ec14dd481cd2045 /kernel/power/process.c
parent8a64c4ef106d17805691e893642912041a622938 (diff)
downloadlinux-77b00bc037e7c58d7a4ef791d1c7eeaf6f7a43e3.tar.xz
sunrpc: queue work on system_power_efficient_wq
sunrpc uses workqueue to clean cache regulary. There is no real dependency of executing work on the cpu which queueing it. On a idle system, especially for a heterogeneous systems like big.LITTLE, it is observed that the big idle cpu was woke up many times just to service this work, which against the principle of power saving. It would be better if we can schedule it on a cpu which the scheduler believes to be the most appropriate one. After apply this patch, system_wq will be replaced by system_power_efficient_wq for sunrpc. This functionality is enabled when CONFIG_WQ_POWER_EFFICIENT is selected. Signed-off-by: Ke Wang <ke.wang@spreadtrum.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'kernel/power/process.c')
0 files changed, 0 insertions, 0 deletions