aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authoranarkia1976 <stefano.villa1976@gmail.com>2015-06-02 20:11:44 +0200
committerMoyster <oysterized@gmail.com>2016-09-13 13:23:03 +0200
commit7a15530b17dad225d67aab23c8230e5a2981b45b (patch)
treecd5c2e494cb585dbf341c35537429dc93e613bf7 /lib/debugobjects.c
parente804b73c195270afd1eb5654c10f6cf4a4f971f6 (diff)
PM: Enable asynchronous noirq resume threads to save the resuming time
Subject [PATCH] PM: Enable asynchronous noirq resume threads to save the resuming time From Chuansheng Liu <> Date Tue, 14 Jan 2014 15:18:08 +0800 Currently, the dpm_resume_noirq() is done synchronously, and for PCI devices pci_pm_resume_noirq(): pci_pm_resume_noirq() pci_pm_default_resume_early() pci_power_up() pci_raw_set_power_state() Which set the device from D3hot to D0 mostly, for every device, there will be one 10ms(pci_pm_d3_delay) to wait. Hence normally dpm_resume_noirq() will cost > 100ms, which is bigger for mobile platform. Here implementing it with asynchronous way which will reduce much. For example below, The 80% time is saved. With synchronous way: [ 1411.272218] PM: noirq resume of devices complete after 92.223 msecs With asynchronous way: [ 110.616735] PM: noirq resume of devices complete after 10.544 msecs Signed-off-by: Liu, Chuansheng <chuansheng.liu@intel.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions