Re: Mapping a piece of one process' addrspace to another?

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Mar 07 2001 - 04:10:31 EST


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.

-
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/



This archive was generated by hypermail 2b29 : Wed Mar 07 2001 - 21:00:22 EST