diff options
author | 2017-03-14 15:21:58 +0200 | |
---|---|---|
committer | 2017-03-14 15:01:28 -0500 | |
commit | 50b2b540c00941ced618df9deafccc30826b13b5 (patch) | |
tree | ca466e0522d0bdc168143c07556dd5764da53814 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.11-rc1 (diff) | |
download | wireguard-linux-50b2b540c00941ced618df9deafccc30826b13b5.tar.xz wireguard-linux-50b2b540c00941ced618df9deafccc30826b13b5.zip |
PCI/PM: Don't sleep at all when d3_delay or d3cold_delay is zero
msleep() still sleeps 1 jiffy even when told to sleep for zero
milliseconds. That can end up being 1-2 milliseconds or more. In the
cases of d3_delay and d3cold_delay, that unnecessarily increases suspend
and/or resume latencies.
Do not sleep at all for the respective cases if d3_delay is zero or
d3cold_delay is zero.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions