Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full dynticks CPU time accounting

From: Wanpeng Li
Date: Mon Jun 13 2016 - 04:09:25 EST


2016-06-13 15:55 GMT+08:00 Paolo Bonzini <pbonzini@xxxxxxxxxx>:
>
>
> On 13/06/2016 05:38, Wanpeng Li wrote:
>> + delta_jiffies = jiffies_to_cputime(now - tsk->vtime_snap);
>> + steal_jiffies = jiffies_to_cputime(steal_account_process_tick(delta_jiffies));
>
> Without jiffies_to_cputime here. Apart from this, yes, this is what I
> meant.

You are right, I miss that. :)

Regards,
Wanpeng Li