> -Original Message-
> From: Maxime Coquelin
> Sent: Monday, October 5, 2020 10:26 PM
> To: Fu, Patrick ; dev@dpdk.org; Xia, Chenbo
>
> Cc: Wang, Zhihong ; Jiang, Cheng1
>
> Subject: Re: [PATCH v3 4/4] vhost: fix async register/unregister deadlock
>
>
>
> On 9/29/20 11:29 AM, Patric
On 9/29/20 11:29 AM, Patrick Fu wrote:
> When async register/unregister function is invoked in certain vhost
> event callbacks (e.g. vring state change), deadlock may occur due to
> recursive spinlock acquire. This patch removes unnecessary spinlock
> from register API and use trylock() primitiv
When async register/unregister function is invoked in certain vhost
event callbacks (e.g. vring state change), deadlock may occur due to
recursive spinlock acquire. This patch removes unnecessary spinlock
from register API and use trylock() primitive in the unregister API
to avoid deadlock.
Fixes:
3 matches
Mail list logo