Re: question on possible deadlock with devices with multiple interfaces

2015-01-20 Thread Oliver Neukum
On Fri, 2015-01-16 at 10:33 -0500, Alan Stern wrote: > Yes, that could happen. It seems unlikely but it is possible. Thanks. I am pushing out a fix. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majo

Re: question on possible deadlock with devices with multiple interfaces

2015-01-16 Thread Alan Stern
On Fri, 16 Jan 2015, Oliver Neukum wrote: > Hi, > > I was looking at the CDC-WDM driver. It uses cancel_work_sync() > in the pre_reset() method. I looked at the work and saw a GFP_KERNEL > there. > Now suppose a device has a wdm interface and a storage interface. > > Is the following sequence po

question on possible deadlock with devices with multiple interfaces

2015-01-16 Thread Oliver Neukum
Hi, I was looking at the CDC-WDM driver. It uses cancel_work_sync() in the pre_reset() method. I looked at the work and saw a GFP_KERNEL there. Now suppose a device has a wdm interface and a storage interface. Is the following sequence possible? kmalloc with GFP_KERNEL in the work VM layer decid