aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_comms.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-12-17 12:20:39 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-01-12 20:47:02 +0200
commit788e5b3a5da24cc8d93ce2f7c6508181cd7d7fb6 (patch)
tree7e54e74c3f7373a04780ad14cb157089c76abeb2 /drivers/xen/xenbus/xenbus_comms.c
parentsh: move xchg_cmpxchg to a header by itself (diff)
downloadlinux-dev-788e5b3a5da24cc8d93ce2f7c6508181cd7d7fb6.tar.xz
linux-dev-788e5b3a5da24cc8d93ce2f7c6508181cd7d7fb6.zip
virtio_ring: use virt_store_mb
We need a full barrier after writing out event index, using virt_store_mb there seems better than open-coding. As usual, we need a wrapper to account for strong barriers. It's tempting to use this in vhost as well, for that, we'll need a variant of smp_store_mb that works on __user pointers. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_comms.c')
0 files changed, 0 insertions, 0 deletions