Re: [BUG] perf: sharing of cpuctx between core and ibs PMU causes problems

From: Stephane Eranian
Date: Mon Aug 13 2012 - 11:36:27 EST


On Mon, Aug 13, 2012 at 5:32 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Mon, 2012-08-13 at 14:53 +0200, Stephane Eranian wrote:
>>
>> Your proposal solves the problem, though it is not that pretty because
>> you're exposing
>> IBS stuff in sched.h aside for the 2 new iterations. But I don't see
>> another way around
>> this at this point.
>
> Yeah, I don't particularly like it either.. but I'm having a similar
> problem of not seeing anything better.
>
> I was going to see if I could make the two IBS PMUs share something, but
> that's going to be pain whichever way you turn it.

Let's use your patch then.

Acked-by: Stephane Eranian <eranian@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/