• Peter Zijlstra's avatar
    perf/core: Remove wrong barrier · 7f0ec325
    Peter Zijlstra authored
    The barrier and comment make no sense:
    
     - if what the barrier says is true, it should be wmb() but that
       should then be part of the arch driver, not the generic code.
    
     - if it is an SMP barrier, there must be a matching barrier, and
       there isn't one.
    
    So kill it.
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    7f0ec325
core.c 268 KB