On Wed, 2021-05-05 at 12:59 +0200, Peter Zijlstra wrote: > Like all scheduler statistics, use sched_clock() based time. > > Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Looks like this works even on messed up systems because the delayacct code is called from the same CPU at sleep time and wakeup time, before a task is migrated. Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx> -- All Rights Reversed.
Attachment:
signature.asc
Description: This is a digitally signed message part