Re: [vendor-sec] [BUG/PATCH/RFC] Oops while completing async USB via usbdevio

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

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux