Am Dienstag, 18. September 2001 18:59 schrieb Alan Cox:
> > Some USB APIs will be trouble, since they don't pass an URB
> > or explicit mem_flags value down.  Were you thinking of just
> > making it all use SLAB_NOIO?  That might cause a few more
> > "out of memory" error reports in places it's not necessary (khubd
> > as one example).  But I'm not sure making usb_control_msg() and
> > all its callers (and their callers ... :) take a new mem_flags parameter
> > would be a reasonable API change.
>
> Would it be better to make the memory type to use a device flag on the
> device we are throwing the urb at ?

Strictly speaking the requirement is not device specific.
An additional parameter, if extended to usb_submit_urb(), has the added bonus 
that there's no longer a problem of deciding whether to allocate memory 
atomically.
How detrimental is GFP_NOIO to the VM ?
        Regards
                Oliver


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to