Re: [PATCH] perf, x86: Add Nehelem PMU programming errata workaround

From: Andi Kleen
Date: Sat Mar 27 2010 - 17:34:39 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:

> Subject: perf, x86: Add Nehelem PMU programming errata workaround
> From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Date: Fri Mar 26 13:59:41 CET 2010
>
> Implement the workaround for Intel Errata AAK100 and AAP53.
>
> Also, remove the Core-i7 name for Nehalem events since there are also
> Westmere based i7 chips.

Did you actually see this happen?

It looks like this will make the context switch into a perf
enabled process _MUCH_ more expensive, MSR writes are very slow.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/