diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-12-27 17:02:16 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-01-12 19:47:03 +0100 |
commit | 506b02eb1cf79838b76c6e3e43171cf960f01fc8 (patch) | |
tree | 4e89ac8ba0cfe3752e005aaf49f9706176d92fe8 /drivers/xen/events | |
parent | xenbus: use virt_xxx barriers (diff) | |
download | linux-506b02eb1cf79838b76c6e3e43171cf960f01fc8.tar.xz linux-506b02eb1cf79838b76c6e3e43171cf960f01fc8.zip |
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/xen/events')
0 files changed, 0 insertions, 0 deletions