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 (mailing list archive)
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(-)

Comments

Rafael J. Wysocki Feb. 6, 2019, 10:27 a.m. UTC | #1
On Monday, February 4, 2019 5:25:51 PM CET Vincent Guittot wrote:
> 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(-)
> 
> 

Both applied, thanks!