Re: Race condition in vfio will cause deadwait

2017-07-26 Thread Alex Williamson
On Tue, 25 Jul 2017 21:30:04 +0800 Wanlong Gao wrote: > From: Wen Congyang > > Hi, Alex Williamson > > When using vfio, we encounter a problem: too many lspci processes are blocked > in D state. > I analyzed all processes, and found one process

Re: Race condition in vfio will cause deadwait

2017-07-26 Thread Alex Williamson
On Tue, 25 Jul 2017 21:30:04 +0800 Wanlong Gao wrote: > From: Wen Congyang > > Hi, Alex Williamson > > When using vfio, we encounter a problem: too many lspci processes are blocked > in D state. > I analyzed all processes, and found one process is blocked in pci_dev_lock(), > another >

Race condition in vfio will cause deadwait

2017-07-25 Thread Wanlong Gao
From: Wen Congyang Hi, Alex Williamson When using vfio, we encounter a problem: too many lspci processes are blocked in D state. I analyzed all processes, and found one process is blocked in pci_dev_lock(), another process is blocked in vfio_del_group_put(). I checked

Race condition in vfio will cause deadwait

2017-07-25 Thread Wanlong Gao
From: Wen Congyang Hi, Alex Williamson When using vfio, we encounter a problem: too many lspci processes are blocked in D state. I analyzed all processes, and found one process is blocked in pci_dev_lock(), another process is blocked in vfio_del_group_put(). I checked the backtrace, and found