Re: [dpdk-dev] [PATCH] vhost: fix deadlock on port deletion

2020-01-15 Thread Maxime Coquelin
On 1/14/20 7:53 PM, Maxime Coquelin wrote: > If the vhost-user application (e.g. OVS) deletes the vhost-user > port while Qemu sends a vhost-user request, a deadlock can > happen if the request handler tries to acquire vhost-user's > global mutex, which is also locked by the vhost-user port > de

Re: [dpdk-dev] [PATCH] vhost: fix deadlock on port deletion

2020-01-15 Thread Eelco Chaudron
On 14 Jan 2020, at 19:53, Maxime Coquelin wrote: > If the vhost-user application (e.g. OVS) deletes the vhost-user > port while Qemu sends a vhost-user request, a deadlock can > happen if the request handler tries to acquire vhost-user's > global mutex, which is also locked by the vhost-user po

Re: [dpdk-dev] [PATCH] vhost: fix deadlock on port deletion

2020-01-14 Thread Tiwei Bie
On Tue, Jan 14, 2020 at 07:53:57PM +0100, Maxime Coquelin wrote: > If the vhost-user application (e.g. OVS) deletes the vhost-user > port while Qemu sends a vhost-user request, a deadlock can > happen if the request handler tries to acquire vhost-user's > global mutex, which is also locked by the v