diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-05-21 08:57:17 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-27 07:16:03 (GMT) |
commit | cc1790cf541553263bda024295d7600c7cd7c45d (patch) | |
tree | 9ddcfe2e7d2805060986c30aef6d0db8361603d9 /kernel | |
parent | b371b594317869971af326adcf7cd65cabdb4087 (diff) | |
download | linux-cc1790cf541553263bda024295d7600c7cd7c45d.tar.xz |
perf/x86: Improve HT workaround GP counter constraint
The (SNB/IVB/HSW) HT bug only affects events that can be programmed
onto GP counters, therefore we should only limit the number of GP
counters that can be used per cpu -- iow we should not constrain the
FP counters.
Furthermore, we should only enfore such a limit when there are in fact
exclusive events being scheduled on either sibling.
Reported-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
[ Fixed build fail for the !CONFIG_CPU_SUP_INTEL case. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions