Re: [PATCH v4 4/9] vhost: annotate virtqueue access lock

2023-01-31 Thread Maxime Coquelin
On 1/19/23 19:46, David Marchand wrote: vhost_user_lock/unlock_all_queue_pairs must be waived since clang annotations can't express taking a runtime number of locks. vhost_queue_stats_update() requirement can be expressed with a required tag. Signed-off-by: David Marchand --- Changes since

[PATCH v4 4/9] vhost: annotate virtqueue access lock

2023-01-19 Thread David Marchand
vhost_user_lock/unlock_all_queue_pairs must be waived since clang annotations can't express taking a runtime number of locks. vhost_queue_stats_update() requirement can be expressed with a required tag. Signed-off-by: David Marchand --- Changes since RFC v3: - removed annotations needed for vhos