From: Dan Magenheimer Subject: RE: Re: [PATCH 3/5] x86/pvclock: add vsyscall implementation Date: Wed, 7 Oct 2009 15:36:58 -0700 (PDT) Message-ID: References: <4ACD0333.9060603@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4ACD0333.9060603@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Avi Kivity Cc: Jeremy Fitzhardinge , Jeremy Fitzhardinge , kurt.hackel@oracle.com, the arch/x86 maintainers , Kernel Mailing List , Glauber de Oliveira Costa , Xen-devel , Keir Fraser , Linux, zach.brown@oracle.com, chris.mason@oracle.com List-Id: xen-devel@lists.xenproject.org > Then they will get incorrect timing once they are live migrated. I've posted a proposed (OS-independent) solution for that and am (slowly) in the process of implementing it. > -----Original Message----- > From: Avi Kivity [mailto:avi@redhat.com] > Sent: Wednesday, October 07, 2009 3:08 PM > To: Dan Magenheimer > Cc: Jeremy Fitzhardinge; Jeremy Fitzhardinge; Xen-devel; Kurt Hackel; > the arch/x86 maintainers; Linux Kernel Mailing List; Glauber=20 > de Oliveira > Costa; Keir Fraser; Zach Brown; Chris Mason > Subject: Re: [Xen-devel] Re: [PATCH 3/5] x86/pvclock: add vsyscall > implementation >=20 >=20 > On 10/07/2009 10:48 PM, Dan Magenheimer wrote: > >> We can support them by falling back to the kernel. I'm a=20 > bit worried > >> about the kernel playing with the hypervisor's version field. It's > >> better to introduce yet a new version for the kernel, and=20 > check both. > >> =20 > > On Nehalem, apps that need timestamp information at a high > > frequency will likely use rdtsc/rdtscp directly. > > > > =20 >=20 > Then they will get incorrect timing once they are live migrated. >=20 > --=20 > I have a truly marvellous patch that fixes the bug which this > signature is too narrow to contain. >=20 >=20 >