lkml.org 
[lkml]   [2007]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] optimize and simplify get_cycles_sync()
On Wed, 28 Feb 2007 15:25:54 +0100
"Joerg Roedel" <joerg.roedel@amd.com> wrote:

> From: Joerg Roedel <joerg.roedel@amd.com>
>
> 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. Running as a guest
> makes CPUID very expensive because it causes an intercept of the guest.

Problem:

http://test.kernel.org/functional/index.html

lots of builds fell over because their binutils versions don't understand
rdtscp.

I don't know how recently rdtscp support was added to binutils, but
this is likely to be a problem. Perhaps we can change this patch to
embed the hex code for that opcode instead?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-07 01:29    [W:0.081 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site