Re: [PATCH 4/4] optimize and simplify get_cycles_sync()

2007-03-09 Thread Joerg Roedel
On Tue, Mar 06, 2007 at 04:25:41PM -0800, Andrew Morton wrote: > On Wed, 28 Feb 2007 15:25:54 +0100 > "Joerg Roedel" <[EMAIL PROTECTED]> wrote: > > > From: Joerg Roedel <[EMAIL PROTECTED]> > > > > This patch simplifies the get_cycles_sync() function by removing the > > #ifdefs from it. Further it

Re: [PATCH 4/4] optimize and simplify get_cycles_sync()

2007-03-06 Thread Andrew Morton
On Wed, 28 Feb 2007 15:25:54 +0100 "Joerg Roedel" <[EMAIL PROTECTED]> wrote: > From: Joerg Roedel <[EMAIL PROTECTED]> > > This patch simplifies the get_cycles_sync() function by removing the > #ifdefs from it. Further it introduces an optimization for AMD > processors. There the RDTSCP instructio

[PATCH 4/4] optimize and simplify get_cycles_sync()

2007-02-28 Thread Joerg Roedel
From: Joerg Roedel <[EMAIL PROTECTED]> This patch simplifies the get_cycles_sync() function by removing the #ifdefs from it. Further it introduces an optimization for AMD processors. There the RDTSCP instruction is used instead of CPUID;RDTSC which is helpfull if the kernel runs as a KVM guest. Ru