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: NPeter Zijlstra <peterz@infradead.org> Suggested-by: NMartin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Acked-by: NMartin Schwidefsky <schwidefsky@de.ibm.com> Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Showing
想要评论请 注册 或 登录