mbox series

[0/2] PM-runtime: fix and clean up of time accounting

Message ID 1549297553-17647-1-git-send-email-vincent.guittot@linaro.org
Headers show
Series PM-runtime: fix and clean up of time accounting | expand

Message

Vincent Guittot Feb. 4, 2019, 4:25 p.m. UTC
Fix time accounting which has the same lock contraint as for using hrtimer
and update accounting_timestamp only when useful.

Vincent Guittot (2):
  PM-runtime: move runtime accounting on ktime_get_mono_fast_ns()
  PM-runtime: update time accounting only when enabled

 drivers/base/power/runtime.c | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

-- 
2.7.4