> -----Original Message-----
> From: David Marchand <[email protected]>
> Sent: Wednesday, May 11, 2022 3:35 PM
> To: Maxime Coquelin <[email protected]>
> Cc: dev <[email protected]>; Xia, Chenbo <[email protected]>; Ding, Xuan
> <[email protected]>; Hu, Jiayu <[email protected]>; Jiang, Cheng1
> <[email protected]>; Pai G, Sunil <[email protected]>
> Subject: Re: [PATCH v2] vhost: add runtime locking check in unsafe APIs
> 
> On Wed, May 11, 2022 at 8:58 AM Maxime Coquelin
> <[email protected]> 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 <[email protected]>
> 
> Reviewed-by: David Marchand <[email protected]>

Reviewed-by: Jiayu Hu <[email protected]>

Thanks,
Jiayu
> 
> 
> --
> David Marchand

Reply via email to