From patchwork Fri Apr 23 01:44:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zachary Amsden X-Patchwork-Id: 94575 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3N1jOAm026325 for ; Fri, 23 Apr 2010 01:45:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754744Ab0DWBo6 (ORCPT ); Thu, 22 Apr 2010 21:44:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31270 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753875Ab0DWBo5 (ORCPT ); Thu, 22 Apr 2010 21:44:57 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3N1irTC029100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 22 Apr 2010 21:44:53 -0400 Received: from [10.11.10.142] (vpn-10-142.rdu.redhat.com [10.11.10.142]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3N1ipwu006103; Thu, 22 Apr 2010 21:44:51 -0400 Message-ID: <4BD0FB92.4060301@redhat.com> Date: Thu, 22 Apr 2010 15:44:50 -1000 From: Zachary Amsden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3 MIME-Version: 1.0 To: Glauber Costa CC: Jeremy Fitzhardinge , Avi Kivity , Peter Zijlstra , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Marcelo Tosatti Subject: Re: [PATCH 1/5] Add a global synchronization point for pvclock References: <1271675100.1674.818.camel@laptop> <4BCC3A3E.9070909@redhat.com> <20100419142158.GD14158@mothafucka.localdomain> <4BCC69D5.3050209@redhat.com> <1271688411.1488.248.camel@laptop> <4BCC8246.9040202@goop.org> <4BCD748E.7080007@redhat.com> <4BCDF12C.1020702@goop.org> <4BCDF85C.3000004@redhat.com> <4BCE0399.2010708@goop.org> <20100422131113.GA3364@mothafucka.localdomain> In-Reply-To: <20100422131113.GA3364@mothafucka.localdomain> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 23 Apr 2010 01:45:24 +0000 (UTC) diff -rup a/time-warp-test.c b/time-warp-test.c --- a/time-warp-test.c 2010-04-15 16:30:13.955981607 -1000 +++ b/time-warp-test.c 2010-04-15 16:35:37.777982377 -1000 @@ -91,7 +91,7 @@ static inline unsigned long long __rdtsc { DECLARE_ARGS(val, low, high); - asm volatile("cpuid; rdtsc" : EAX_EDX_RET(val, low, high)); + asm volatile("cpuid; rdtsc" : EAX_EDX_RET(val, low, high) :: "ebx", "ecx"); return EAX_EDX_VAL(val, low, high); }