diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-01-10 13:19:38 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-01-12 20:47:05 +0200 |
commit | 779a6a36961b50cd154da5705d9e6508f819cc4e (patch) | |
tree | e36f7c676eecb14d47d633a95e3c547d4c3f58c2 /kernel/irq_work.c | |
parent | a677f4869576eb177570ffee68598d2202de030f (diff) | |
download | linux-779a6a36961b50cd154da5705d9e6508f819cc4e.tar.bz2 |
s390: more efficient smp barriers
As per: lkml.kernel.org/r/20150921112252.3c2937e1@mschwide
atomics imply a barrier on s390, so s390 should change
smp_mb__before_atomic and smp_mb__after_atomic to barrier() instead of
smp_mb() and hence should not use the generic versions.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Suggested-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions