Re: [PATCH v4 5/9] vhost: annotate async accesses

2023-01-31 Thread Maxime Coquelin
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 --- Changes since RFC v3: - rebased, - fixed annotations vq->access_lock -> &vq->access_lock, - reworked free_vq, --- lib/vhost/vhost.c | 4

[PATCH v4 5/9] vhost: annotate async accesses

2023-01-19 Thread David Marchand
vq->async is initialised and must be accessed under vq->access_lock. Signed-off-by: David Marchand --- 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/vh