> -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: Wednesday, May 11, 2022 3:35 PM > To: Maxime Coquelin <maxime.coque...@redhat.com> > Cc: dev <dev@dpdk.org>; Xia, Chenbo <chenbo....@intel.com>; Ding, Xuan > <xuan.d...@intel.com>; Hu, Jiayu <jiayu...@intel.com>; Jiang, Cheng1 > <cheng1.ji...@intel.com>; Pai G, Sunil <sunil.pa...@intel.com> > Subject: Re: [PATCH v2] vhost: add runtime locking check in unsafe APIs > > On Wed, May 11, 2022 at 8:58 AM Maxime Coquelin > <maxime.coque...@redhat.com> wrote: > > > > This patch adds runtime checks in unsafe Vhost async APIs, to ensure > > the access lock is taken. > > > > The detection won't work every time, as another thread could take the > > lock, but it would help to detect misuse of these unsafe API. > > > > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > > Reviewed-by: David Marchand <david.march...@redhat.com>
Reviewed-by: Jiayu Hu <jiayu...@intel.com> Thanks, Jiayu > > > -- > David Marchand