From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422928AbcFML2l (ORCPT ); Mon, 13 Jun 2016 07:28:41 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:33978 "EHLO mail-oi0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422907AbcFML2j (ORCPT ); Mon, 13 Jun 2016 07:28:39 -0400 MIME-Version: 1.0 In-Reply-To: <1465813966-3116-1-git-send-email-wanpeng.li@hotmail.com> References: <1465813966-3116-1-git-send-email-wanpeng.li@hotmail.com> From: Wanpeng Li Date: Mon, 13 Jun 2016 19:28:37 +0800 Message-ID: Subject: Re: [PATCH v6 0/3] Sched, KVM: st: Add steal time support to full dynticks CPU time accounting To: "linux-kernel@vger.kernel.org" , kvm Cc: Ingo Molnar , "Peter Zijlstra (Intel)" , Rik van Riel , Thomas Gleixner , Frederic Weisbecker , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Wanpeng Li , John Stultz Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cc maintainers/reviewers, 2016-06-13 18:32 GMT+08:00 Wanpeng Li : > Periodic/NOHZ idle which don't use vtime have logic account steal time, > however, vtime(depends on context tracking) which is just used in full > dynticks doesn't account steal time, this patchset adds the steal time > acccount support in vtime which will be used in full dynticks guest. > > Patch 1 and patch 2 fix steal clock warp and prev steal time account > during cpu hotplug bugs. > Patch 3 adds the steal time support to full dynticks CPU time accounting. > > N.B. This version of patchset drops previous Acked-by and Reviewed-by since > they are different from earlier version. :) > > v5 -> v6: > * improve commit message of patch 2/3, 3/3 > * fix account st twice > v4 -> v5: > * improve commit message of patch 1/3 > * revert commit e9532e69b8d1 > * apply same logic to account_idle_time, so change get_vtime_delta instead > v3 -> v4: > * fix grammar errors, thanks Ingo > * cleanup fragile codes, thanks Ingo > v2 -> v3: > * fix the root cause > * convert steal time jiffies to cputime > v1 -> v2: > * update patch subject, description and comments > * deal with the case where steal time suddenly increases by a ludicrous amount > * fix divide zero bug, thanks Rik > > Wanpeng Li (3): > KVM: fix steal clock warp during guest cpu hotplug > sched/cputime: Fix prev steal time accouting during cpu hotplug > sched/cputime: Add steal time support to full dynticks CPU time > accounting > > arch/x86/kernel/kvm.c | 2 -- > kernel/sched/core.c | 1 - > kernel/sched/cputime.c | 16 +++++++++------- > kernel/sched/sched.h | 13 ------------- > 4 files changed, 9 insertions(+), 23 deletions(-) > > -- > 1.9.1 >