commit | 4ac13294e44664bb7edf4daf52edb71e7c6bbe84 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Tue Dec 09 21:43:39 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Dec 11 15:45:45 2008 +0100 |
tree | accb533350a655e39a8ab846abc37018b2f87ccf | |
parent | 43874d238d5f208854a73c3225ca2a22833eec8b [diff] |
perf counters: protect them against CSTATE transitions Impact: fix rare lost events problem There are CPUs whose performance counters misbehave on CSTATE transitions, so provide a way to just disable/enable them around deep idle methods. (hw_perf_enable_all() is cheap on x86.) Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>