lkml.org 
[lkml]   [2001]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Alexander Viro wrote:
    >
    > On Wed, 7 Mar 2001, Abramo Bagnara wrote:
    >
    > > Alexander Viro wrote:
    > > >
    > > > On Wed, 7 Mar 2001, Jeremy Elson wrote:
    > > >
    > > > > Right now, my code looks something like this: (it might make more
    > > > > sense if you know that I've written a framework for writing user-space
    > > > > device drivers... I'm going to be releasing it soon, hopefully after I
    > > > > resolve this performance problem. Or maybe before, if it's hard.)
    > > >
    > > > Ugh. Why not make that a named pipe and use zerocopy stuff for pipes?
    > > > I.e. why bother with making it look like a character device rather than
    > > > a FIFO?
    > >
    > > What about ioctl? Device drivers sometimes need it ;-)
    >
    > No, they don't. OOB data is equivalent to data on parallel channel.

    Al, you're perfectly right in principle (although last time I've checked
    pipe and unix socket did not support OOB data. Is this changed
    recently?).

    But you're forgetting that we need to cope with non collaborative
    applications (that *use* ioctl).

    --
    Abramo Bagnara mailto:abramo@alsa-project.org

    Opera Unica Phone: +39.546.656023
    Via Emilia Interna, 140
    48014 Castel Bolognese (RA) - Italy

    ALSA project is http://www.alsa-project.org
    sponsored by SuSE Linux http://www.suse.com

    It sounds good!
    -
    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-03-22 13:29    [W:3.071 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site