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

From: Abramo Bagnara (abramo@alsa-project.org)
Date: Wed Mar 07 2001 - 04:04:03 EST


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 ;-)

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



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