lkml.org 
[lkml]   [2010]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -tip] perf, x86: Make a second write to performance counter if needed
From
Date
On Thu, 2010-06-03 at 01:23 +0400, Cyrill Gorcunov wrote:
> On Netburst PMU we need a second write to a performance counter
> due to cpu erratum.
>
> A simple flag test instead of alternative instructions was choosen
> because wrmsrl is already a macro and if virtualization is turned
> on will need an additional wrapper call which is more expencise.
>
> nb: we should propably switch to jump-labels as only this facility
> reach the mainline.

OK. Thanks Cyrill.




\
 
 \ /
  Last update: 2010-06-07 11:51    [W:0.415 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site