aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLv Zheng <[email protected]>2016-08-03 09:07:58 +0800
committerRafael J. Wysocki <[email protected]>2016-08-17 02:37:02 +0200
commitdf45db6177f8dde380d44149cca46ad800a00575 (patch)
treecb42fc57f30847b2b38b19e3790e50ff140f5592 /tools/perf/scripts/python/export-to-postgresql.py
parent694d0d0bb2030d2e36df73e2d23d5770511dbc8d (diff)
ACPI / EC: Add PM operations for suspend/resume noirq stage
It is reported that on some platforms, resume speed is not fast. The cause is: in noirq stage, EC driver is working in polling mode, and each state machine advancement requires a context switch. The context switch is not necessary to the EC driver's polling mode. This patch implements PM hooks to automatically switch the driver to/from the busy polling mode to eliminate the overhead caused by the context switch. This finally contributes to the tuning result: acpi_pm_finish() execution time is improved from 192ms to 6ms. Signed-off-by: Lv Zheng <[email protected]> Reported-and-tested-by: Todd E Brandt <[email protected]> [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions