]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
perf/core: Remove wrong barrier
authorPeter Zijlstra <peterz@infradead.org>
Tue, 5 Sep 2017 12:17:58 +0000 (14:17 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 27 Oct 2017 08:31:58 +0000 (10:31 +0200)
commit7f0ec32526d2446fdd79b0c6c6d08e64ef9fb1f3
tree8d40c42d6cd0e24600068e90285b5988ac40738f
parent8ca2bd41c7d1c135e9ac6f25970c2d491865088a
perf/core: Remove wrong barrier

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: 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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c