aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-05-21 10:57:17 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-27 09:16:03 +0200
commitcc1790cf541553263bda024295d7600c7cd7c45d (patch)
tree9ddcfe2e7d2805060986c30aef6d0db8361603d9 /kernel
parentperf/x86: Fix event/group validation (diff)
downloadlinux-dev-cc1790cf541553263bda024295d7600c7cd7c45d.tar.xz
linux-dev-cc1790cf541553263bda024295d7600c7cd7c45d.zip
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