RE: [PATCH v3 2/4] vhost: make the guest_notifications statistic counter atomic

2023-05-31 Thread Xia, Chenbo
> -Original Message- > From: Eelco Chaudron > Sent: Wednesday, May 17, 2023 5:09 PM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > david.march...@redhat.com > Cc: dev@dpdk.org > Subject: [PATCH v3 2/4] vhost: make the guest_notifications statistic > counter atomic > > Making the guest_

Re: [PATCH v3 2/4] vhost: make the guest_notifications statistic counter atomic

2023-05-30 Thread Maxime Coquelin
On 5/17/23 11:08, Eelco Chaudron wrote: Making the guest_notifications statistic counter atomic, allows it to be safely incremented while holding the read access_lock. Signed-off-by: Eelco Chaudron --- lib/vhost/vhost.c |8 lib/vhost/vhost.h |9 ++--- 2 files changed