On Wed, Oct 10, 2012 at 8:20 PM, Oliver Neukum <oli...@neukum.org> 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.

IMO, this kind of "fix" should be discussed further, because in theory
we can't avoid all GFP_KERNEL allocation in both device
reset path and runtime resume path, which may call other
kernel component APIs with GFP_KERNEL allocation.

So hope to figure out one generic enough solution.

Thanks,
-- 
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to