Ping Paolo or Peterz. 2016-05-25 3:22 GMT+08:00 Rik van Riel <[email protected]>: > On Wed, 2016-05-18 at 20:27 +0800, Wanpeng Li wrote: >> From: Wanpeng Li <[email protected]> >> >> This patch adds steal guest time support to full dynticks CPU >> time accounting. After 'commit ff9a9b4c4334 ("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 <[email protected]> >> Cc: Ingo Molnar <[email protected]> >> Cc: Peter Zijlstra (Intel) <[email protected]> >> Cc: Rik van Riel <[email protected]> >> Cc: Thomas Gleixner <[email protected]> >> Cc: Frederic Weisbecker <[email protected]> >> Cc: Paolo Bonzini <[email protected]> >> Cc: Radim <[email protected]> >> Signed-off-by: Wanpeng Li <[email protected]> > > This also nicely fixes up f9c904b7613b ("sched/cputime: > Fix steal_account_process_tick() to always return jiffies"), > which relies on a bool function returning a certain number > of jiffies :) > > Reviewed-by: Rik van Riel <[email protected]> > > -- > All rights reversed
-- Regards, Wanpeng Li

