summaryrefslogtreecommitdiffstats
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorUlf Hansson2015-10-15 17:02:06 +0200
committerRafael J. Wysocki2015-10-28 04:33:04 +0100
commit51cda844892fded75d3ad07d0233e73572eba2f3 (patch)
tree911179ce9dd03df7dd86b24c5bd1aa9d70c80889 /include/linux/pm_domain.h
parentMerge back earlier 'pm-domains' material for v4.4. (diff)
downloadkernel-qcow2-linux-51cda844892fded75d3ad07d0233e73572eba2f3.tar.gz
kernel-qcow2-linux-51cda844892fded75d3ad07d0233e73572eba2f3.tar.xz
kernel-qcow2-linux-51cda844892fded75d3ad07d0233e73572eba2f3.zip
PM / Domains: Don't measure ->start|stop() latency in system PM callbacks
Measure latency does by itself contribute to an increased latency, thus we should avoid it when it isn't needed. Genpd measures latencies in the system PM phase for the ->start|stop() callbacks and is thus affecting the system PM suspend/resume time. Moreover these latencies are validated only at runtime PM suspend/resume. To this reasoning, let's decide to leave these measurements out of the system PM phase. There should be plenty of occasions during runtime PM to perform these measurements anyway. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Lina Iyer <lina.iyer@linaro.org> Acked-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_domain.h')
0 files changed, 0 insertions, 0 deletions