[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mach ports use
From: |
Neal H. Walfield |
Subject: |
Re: Mach ports use |
Date: |
28 Oct 2002 16:20:40 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
> > As far as Hurd/L4 is concerned, mono-directional ports
> > are the only possible alternative.
>
> And for high performance, I suspect the right way to do it is to share
> some buffer space (preferably shared all the way down to the
> network card), and send a messages when a packet is written to the
> buffer, and when a packet have been completely processed so that the
> buffer can be reused.
>
> Hmm, such a shared queue sounds like a generally useful thing, for
> various i/o tasks. Do you already have a library that does that under
> l4?
The client would make a container containing the pages and give the
server access to the container. Then the server would map the pages
in the container, build a packet and send it down the network. Upon
return, the client could reject the server's access to the container
or fill it with another pay load and continue.