summaryrefslogtreecommitdiff
path: root/include/xen
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
commit5bb0c9be2ac9a98513d43969e2b5c3d02cb271c8 (patch)
tree2e71e19671c569e31040354c07295f25a183e74d /include/xen
parent788e5b3a5da24cc8d93ce2f7c6508181cd7d7fb6 (diff)
xenbus: use virt_xxx barriers
drivers/xen/xenbus/xenbus_comms.c 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 'include/xen')
0 files changed, 0 insertions, 0 deletions