diff options
author | 2025-02-18 21:20:46 +0100 | |
---|---|---|
committer | 2025-03-03 13:29:00 +0100 | |
commit | 520a552f19d55825108ab83da093084c9afb50e9 (patch) | |
tree | 0aef7e72ac0bd67180fd9a0db8f1ddc47a5bbe03 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PM: sleep: Use DPM_FLAG_SMART_SUSPEND conditionally (diff) | |
download | wireguard-linux-520a552f19d55825108ab83da093084c9afb50e9.tar.xz wireguard-linux-520a552f19d55825108ab83da093084c9afb50e9.zip |
PM: sleep: Avoid unnecessary checks in device_prepare_smart_suspend()
Add an optimization (on top of previous changes) to avoid calling
pm_runtime_blocked(), which involves acquiring the device's PM spinlock,
for devices with no PM callbacks and runtime PM "blocked".
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://patch.msgid.link/2978873.e9J7NaK4W3@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions