Re: [PATCH] sched/cputime: Fix steal time accouting during cpu hotplug

From: Rik van Riel
Date: Thu Jun 02 2016 - 09:55:16 EST

On Thu, 2016-06-02 at 13:38 +0800, Wanpeng Li wrote:
> From: Wanpeng Li <>
> I believe rq->prev_irq_time has similar issue. So this patch fix it
> by settingÂ
> rq->prev_* to current irq time and steal clock timestamp after a cpu
> hotplugÂ
> comes back.
> Fixes: 'commit e9532e69b8d1 ("sched/cputime: Fix steal time
> accounting vs. CPU hotplug")'
> 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 <>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>

All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part