Re: [RFC PATCH v3 6/8] vhost: annotate vDPA device list accesses

2022-04-22 Thread Maxime Coquelin
On 4/11/22 13:00, David Marchand wrote: vdpa_device_list access must be protected with vdpa_device_list_lock spinlock. Signed-off-by: David Marchand --- lib/vhost/vdpa.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) Reviewed-by: Maxime Coquelin Thanks, Maxi

[RFC PATCH v3 6/8] vhost: annotate vDPA device list accesses

2022-04-11 Thread David Marchand
vdpa_device_list access must be protected with vdpa_device_list_lock spinlock. Signed-off-by: David Marchand --- lib/vhost/vdpa.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa.c index 8fa2153023..a3f9f8f072 100644 --- a/l