Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420568

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

From Wanpeng Li <kernellwp@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full dynticks CPU time accounting
Date 2016-06-13 10:10 +0200
Message-ID <rJv6x-3AX-11@gated-at.bofh.it> (permalink)
References <rHC2t-2WJ-3@gated-at.bofh.it> <rHC2t-2WJ-1@gated-at.bofh.it> <rHIKC-7iL-31@gated-at.bofh.it> <rJqTf-GE-1@gated-at.bofh.it> <rJuWR-3i5-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-06-13 15:55 GMT+08:00 Paolo Bonzini <pbonzini@redhat.com>:
>
>
> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full  dynticks CPU time accounting Wanpeng Li <kernellwp@gmail.com> - 2016-06-13 05:40 +0200
  Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full  dynticks CPU time accounting Paolo Bonzini <pbonzini@redhat.com> - 2016-06-13 10:00 +0200
    Re: [PATCH v5 3/3] sched/cputime: Add steal time support to full  dynticks CPU time accounting Wanpeng Li <kernellwp@gmail.com> - 2016-06-13 10:10 +0200

csiph-web