cloud-hypervisor/vm-virtio
Sergio Lopez 6329219749 vm-virtio: queue: Use a SeqCst fence on get_used_event
On x86_64, a hint to the compiler is not enough, we need to issue a
MFENCE instruction. Replace the Acquire fence with a SeqCst one.

Without this, it's still possible to miss an used_event update,
leading to the omission of a notification, possibly stalling the
vring.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2020-03-18 13:36:17 +00:00
..
src vm-virtio: queue: Use a SeqCst fence on get_used_event 2020-03-18 13:36:17 +00:00
Cargo.toml build(deps): bump libc from 0.2.67 to 0.2.68 2020-03-17 21:36:38 +00:00