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> |
||
|---|---|---|
| .. | ||
| blkif.h | ||
| console.h | ||
| fbif.h | ||
| kbdif.h | ||
| netif.h | ||
| pciif.h | ||
| protocols.h | ||
| ring.h | ||
| tpmif.h | ||
| vscsiif.h | ||
| xenbus.h | ||
| xs_wire.h | ||