cloud-hypervisor/vhost_user_block
Sergio Lopez 3957d1ee27 vhost_user_backend: call get_used_event from needs_notification
This change, combined with the compiler hint to inline get_used_event,
shortens the window between the memory read and the actual check by
calling get_used_event from needs_notification.

Without it, when putting enough pressure on the vring, it's possible
that a notification is wrongly omitted, causing the queue to stall.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2020-03-12 14:34:21 +00:00
..
src vhost_user_backend: call get_used_event from needs_notification 2020-03-12 14:34:21 +00:00
Cargo.toml build: Bump linux-loader and vm-memory dependencies 2020-03-05 11:01:30 +01:00