> From: Sarah Sharp
> Currently prepare_ring() returns -ENOMEM if the urb won't fit into a
> single ring segment.  usb_sg_wait() treats this error as a temporary
> condition and will keep retrying until something else goes wrong.

Even if it were a temporary condition then an immediate retry
is rather pointless.
Retry after a slight delay might make some sense.

Of course, if this is the pagedaemon trying to write out
pages in order to generate some free kernel memory all is lost
as soon as the usb subsystem need to allocate memory in order
to perform a transfer.

        David



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" 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