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

Rik van Riel
2016-05-18T04:04:54Z

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

On Tue, 2016-05-10 at 13:34 +0800, Wanpeng Li wrote:
> From: Wanpeng Li <wanpeng.li@hotmail.com>
>
> 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@redhat.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
> Cc: Rik van Riel <riel@redhat.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Frederic Weisbecker <fweisbec@gmail.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Radim <rkrcmar@redhat.com>
> Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com>
>

Acked-by: Rik van Riel <riel@redhat.com>

--
All Rights Reversed.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]