• Peter Zijlstra's avatar
    perf/x86/intel: Correct local vs remote sibling state · 1c565833
    Peter Zijlstra authored
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
    1c565833
perf_event_intel.c 93.2 KB