lkml.org 
[lkml]   [2010]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] perf-events: Add support for supplementary event registers
From
Date
On Thu, 2010-11-11 at 20:45 +0100, Andi Kleen wrote:
> > Can we make it so, that is, move that int inside the intel_percore
> > struct?
> >
>
> It's needed per cpu. Basically the flag says "bother to look into the
> percore structure"
> This way most of this is kept out of the fast paths. But one CPU in a core
> may need it and the other not.
>
> In principle it could be merged into some other cpuc flag word if you
> have any suggestions.

Nah, I missed that detail, having it as is seems fine.




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