[PATCH v4 5/9] vhost: annotate async accesses
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Jan 31 17:54:20 CET 2023
On 1/19/23 19:46, David Marchand wrote:
> vq->async is initialised and must be accessed under vq->access_lock.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> Changes since RFC v3:
> - rebased,
> - fixed annotations vq->access_lock -> &vq->access_lock,
> - reworked free_vq,
>
> ---
> lib/vhost/vhost.c | 4 ++++
> lib/vhost/vhost.h | 2 +-
> lib/vhost/vhost_user.c | 10 +++++++---
> lib/vhost/virtio_net.c | 35 +++++++++++++++++++++++++++++++++++
> 4 files changed, 47 insertions(+), 4 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list