diff options
author | 2016-10-30 17:32:43 +0100 | |
---|---|---|
committer | 2016-10-31 11:42:51 -0600 | |
commit | baa8809f60971d10220dfe79248f54b2b265f003 (patch) | |
tree | 51a4d0c63734bdd7923c025e9ed4e0dd537e3c76 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PM / runtime: Use device links (diff) | |
download | wireguard-linux-baa8809f60971d10220dfe79248f54b2b265f003.tar.xz wireguard-linux-baa8809f60971d10220dfe79248f54b2b265f003.zip |
PM / runtime: Optimize the use of device links
If the device has no links to suppliers that should be used for
runtime PM (links with DEVICE_LINK_PM_RUNTIME set), there is no
reason to walk the list of suppliers for that device during
runtime suspend and resume.
Add a simple mechanism to detect that case and possibly avoid the
extra unnecessary overhead.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions