summaryrefslogtreecommitdiffstats
path: root/drivers/base/cacheinfo.c
diff options
context:
space:
mode:
authorUlf Hansson2016-09-21 15:38:52 +0200
committerRafael J. Wysocki2016-09-24 01:54:29 +0200
commitadb560b3ee395ac9688a93582d805edec4c3d3e7 (patch)
tree9778d13b766d48997fb080c2ab37d597a3816b09 /drivers/base/cacheinfo.c
parentPM / Domains: Remove redundant system PM callbacks (diff)
downloadkernel-qcow2-linux-adb560b3ee395ac9688a93582d805edec4c3d3e7.tar.gz
kernel-qcow2-linux-adb560b3ee395ac9688a93582d805edec4c3d3e7.tar.xz
kernel-qcow2-linux-adb560b3ee395ac9688a93582d805edec4c3d3e7.zip
PM / Domains: Don't measure latency of ->power_on|off() during system PM
Measure latency does by itself contribute to an increased latency, thus we should avoid it when it isn't needed. Currently genpd measures latencies in the system PM phase for the ->power_on|off() callbacks, except in the syscore case when it's not allowed to use ktime_get() as timekeeping may be suspended. Since there should be plenty of occasions during runtime PM to perform these measurements, let's rely on that and drop them from system PM. This will also make it consistent for how measurements are done of the runtime PM callbacks (as those may be invoked during system PM). Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/cacheinfo.c')
0 files changed, 0 insertions, 0 deletions