Messages in this thread | | | Date | Tue, 12 Jun 2012 20:04:55 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge |
| |
> Also, you can create a pebs event while updating micro-code. There's a > race window there if you don't check all cpus.
The best proposal I've seen so far was to track the minimum ucode revision and check that on every syscall.
This can be a single global, so it should not be very exepsnive.
I can look at implementing that if that solution is agreeable with everyone.
-Andi -- ak@linux.intel.com -- Speaking for myself only.
| |