Re: [PATCH 08/10] perf_event: Optimize the constraint searching bits

From: Stephane Eranian
Date: Fri Jan 22 2010 - 11:28:45 EST

On Fri, Jan 22, 2010 at 5:22 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Fri, 2010-01-22 at 17:08 +0100, Stephane Eranian wrote:
>> On Fri, Jan 22, 2010 at 4:50 PM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
>> > Instead of copying bitmasks around, pass pointers to the constraint structure.
>> >
>> The reason I changed that is because of the AMD situation where constraints
>> are dynamically generated. So we need to get some storage from somwhere.
>> See my AMD NB patch,
> Can't we still do that by embedding 4 event_constraint structures in
> struct amd_nb and rewriting those as we need?
We sure could do that too.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at