Re: [PATCH] usbhid: use GFP_NOIO in reset code path

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

 



On Wed, 10 Oct 2012, Oliver Neukum wrote:

> For mice with card readers the HID driver can deadlock as its 
> post_reset() method allocates memory. GFP_NOIO must be used in a block 
> layer error handler, which usbhid can be indirectly part of.

Hi Oliver,

umm ... could you please elaborate how this can actually happen?

I guess the USB mouse has a hub inside, and the card reader is connected 
to that HUB, right? (or perhaps different USB interface?).

In any case, how does HID get bound to the card reader interface? What am 
I missing?

Thanks,

-- 
Jiri Kosina
SUSE Labs
--
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