Re: Bug 110531 - sysfs read_descriptors() can be blocked up to 30 seconds due to USB error recovery in hub_event()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2016-01-08 at 08:09 -0800, Greg Kroah-Hartman wrote:
> > Remove the usb_lock_device(udev) and usb_unlock_device(udev) from
> > devices/usb/core/sysfs.c in read_descriptors() that was added by the
> kernel
> > 3.13 commit
> > "232275a USB: fix substandard locking for the sysfs files"
> > 
> > Any comments to this proposal ?
> 
> The locking was added because it was needed, we can't just remove it
> and
> expect things to work properly, don't you agree?

Well, there is a point though. We are using uninterruptible
sleep for no good reason.

	Regards
		Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux