From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932781AbcFBNzL (ORCPT ); Thu, 2 Jun 2016 09:55:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41549 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751916AbcFBNzJ (ORCPT ); Thu, 2 Jun 2016 09:55:09 -0400 Message-ID: <1464875703.16365.116.camel@redhat.com> Subject: Re: [PATCH] sched/cputime: Fix steal time accouting during cpu hotplug From: Rik van Riel To: Wanpeng Li , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Wanpeng Li , Ingo Molnar , "Peter Zijlstra (Intel)" , Thomas Gleixner , Frederic Weisbecker , Paolo Bonzini , Radim Date: Thu, 02 Jun 2016 09:55:03 -0400 In-Reply-To: <1464845939-9992-1-git-send-email-wanpeng.li@hotmail.com> References: <1464845939-9992-1-git-send-email-wanpeng.li@hotmail.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-rTAXphTJqsKIxDrkzj1o" Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 02 Jun 2016 13:55:08 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-rTAXphTJqsKIxDrkzj1o Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2016-06-02 at 13:38 +0800, Wanpeng Li wrote: > From: Wanpeng Li >=C2=A0 > I believe rq->prev_irq_time has similar issue. So this patch fix it > by setting=C2=A0 > rq->prev_* to current irq time and steal clock timestamp after a cpu > hotplug=C2=A0 > comes back. >=20 > Fixes: 'commit e9532e69b8d1 ("sched/cputime: Fix steal time > accounting vs. CPU hotplug")' > Cc: Ingo Molnar > Cc: Peter Zijlstra (Intel) > Cc: Rik van Riel > Cc: Thomas Gleixner > Cc: Frederic Weisbecker > Cc: Paolo Bonzini > Cc: Radim > Signed-off-by: Wanpeng Li >=20 Acked-by: Rik van Riel --=20 All Rights Reversed. --=-rTAXphTJqsKIxDrkzj1o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJXUDq3AAoJEM553pKExN6D8mgIAJ02kA0HiG8z5rTVVqBFIJwB QgmsBRsBmZFLoceFiCX+4bROEsY1L1lOFWb9bFke2tUQJD4KlzwE1QZ87Py+/GFn 5rwEk0i7IDQCW3Yjoyj+EXihQHjHKDtF7SJTbaC4Gnl2q8b6k+8Korp1gGF+VZI4 Ln01AesBKJ+dTt7OtuHF82MFGd/M3pomAfCAMIsdFzk96UBsIykflO32OUVuTyM7 hEX3nM6IzwVW0oT658LllaMfiL8lijhkQYEDE5id3C0INPcHeM1TDhofQO8PG7Z3 3Uk5HG52fgUwO08AAYmiwhDAL5Jtc9g5iDSNG+wEz/iUIvQWU7uZ8A/Cfjvs2M4= =w6mZ -----END PGP SIGNATURE----- --=-rTAXphTJqsKIxDrkzj1o--