lkml.org 
[lkml]   [2005]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [vendor-sec] [BUG/PATCH/RFC] Oops while completing async USB via usbdevio
On Tue, 27 Sep 2005 at 06:09:38 Greg KH wrote:
> On Tue, Sep 27, 2005 at 01:59:56PM +0100, Christoph Hellwig wrote:
> >
> > This is more than messy. usbfs is the only user of SI_ASYNCIO, and the
> > way it uses it is more than messy. Why can't USB simply use the proper
> > AIO infrastructure?
>
> No one has taken the time and effort to do this. No other reason that I
> know of. David? I know you have looked into this a bit in the past.

Time and effort are the main issues I know of. First we'd need some
kind of FD-per-endpoint infrastructure, then it should be easy to
implement the AIO file ops, one kiocb per URB ... much like "gadgetfs"
does for USB peripherals, one kiocb per usb_request.

- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-27 17:33    [from the cache]
©2003-2011 Jasper Spaans