Re: [PATCH] sched/cputime: add steal time support to full dynticks CPU time accounting
From: Rik van Riel
Date: Wed May 18 2016 - 00:05:03 EST
On Tue, 2016-05-10 at 13:34 +0800, Wanpeng Li wrote:
> From: Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
>
> This patch adds steal guest time support to full dynticks CPU timeÂ
> accounting. After commit ff9a9b4c(sched, time: Switch
> VIRT_CPU_ACCOUNTING_GENÂ
> to jiffy granularity), time is jiffy based sampling even if it'sÂ
> still listened to ring boundaries, so steal_account_process_tick()Â
> is reused to account how much 'ticks' are steal time after theÂ
> last accumulation.Â
>
> Suggested-by: Rik van Riel <riel@xxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> Cc: Rik van Riel <riel@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> Cc: Radim <rkrcmar@xxxxxxxxxx>
> Signed-off-by: Wanpeng Li <wanpeng.li@xxxxxxxxxxx>
>
Acked-by: Rik van Riel <riel@xxxxxxxxxx>
--
All Rights Reversed.
Attachment:
signature.asc
Description: This is a digitally signed message part