Re: [PATCH] PM/runtime: Do not needlessly call ktime_get

2019-01-16 Thread Rafael J. Wysocki
On Thursday, January 10, 2019 7:56:19 PM CET Vincent Guittot wrote: > On Thu, 10 Jan 2019 at 10:51, Ladislav Michl wrote: > > > > pm_runtime_autosuspend_expiration calls ktime_get even when > > its returned value may be unused. Therefore get current time > > later and remove gotos while there. >

Re: [PATCH] PM/runtime: Do not needlessly call ktime_get

2019-01-10 Thread Vincent Guittot
On Thu, 10 Jan 2019 at 10:51, Ladislav Michl wrote: > > pm_runtime_autosuspend_expiration calls ktime_get even when > its returned value may be unused. Therefore get current time > later and remove gotos while there. > > Signed-off-by: Ladislav Michl Acked-by: Vincent Guittot > --- > NOTE:

Re: [PATCH] PM/runtime: Do not needlessly call ktime_get

2019-01-10 Thread Tony Lindgren
* Ladislav Michl [190110 09:51]: > pm_runtime_autosuspend_expiration calls ktime_get even when > its returned value may be unused. Therefore get current time > later and remove gotos while there. Acked-by: Tony Lindgren

[PATCH] PM/runtime: Do not needlessly call ktime_get

2019-01-10 Thread Ladislav Michl
pm_runtime_autosuspend_expiration calls ktime_get even when its returned value may be unused. Therefore get current time later and remove gotos while there. Signed-off-by: Ladislav Michl --- NOTE: Depends on Vincent's "[PATCH v2] PM/runtime: Fix autosuspend_delay on 32bits arch"!