Re: [rft]powermate runtime pm

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

 



Am Freitag 04 Juli 2008 00:08:49 schrieb Oliver Neukum:
> Mutual exclusion is a very good idea. And telling input devices that
> they are open is also a good idea. But this will be difficult, as open()
> will almost certainly wish to do as memory allocations can trigger
> an autoresume.

Sorry, it is late.

Again, in clear language.

You will face a deadlock problem, as open can call into resume,
due to
a) usb_autopm_get_interface()
b) any memory allocation that triggers autoresumption of another
    interface of the same device

	Regards
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-input" 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 Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux