summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-12-27 18:02:16 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-01-12 20:47:03 +0200
commit506b02eb1cf79838b76c6e3e43171cf960f01fc8 (patch)
tree4e89ac8ba0cfe3752e005aaf49f9706176d92fe8 /drivers
parent5bb0c9be2ac9a98513d43969e2b5c3d02cb271c8 (diff)
downloadlinux-506b02eb1cf79838b76c6e3e43171cf960f01fc8.tar.bz2
xen/io: use virt_xxx barriers
include/xen/interface/io/ring.h uses full memory barriers to communicate with the other side. For guests compiled with CONFIG_SMP, smp_wmb and smp_mb would be sufficient, so mb() and wmb() here are only needed if a non-SMP guest runs on an SMP host. Switch to virt_xxx barriers which serve this exact purpose. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: David Vrabel <david.vrabel@citrix.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions