]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
perf/x86/intel: Correct local vs remote sibling state
authorPeter Zijlstra <peterz@infradead.org>
Thu, 21 May 2015 08:57:21 +0000 (10:57 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 May 2015 07:17:42 +0000 (09:17 +0200)
commit1c565833ac7950a5ddb3322e9848e0628ceba3b5
tree4956bed42044f44899ba0a823b2a0b9db526e8e0
parentadafa99960ef18b019f001ddee4d9d81c4e25944
perf/x86/intel: Correct local vs remote sibling state

For some obscure reason the current code accounts the current SMT
thread's state on the remote thread and reads the remote's state on
the local SMT thread.

While internally consistent, and 'correct' its pointless confusion we
can do without.

Flip them the right way around.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel.c