Andi Kleen wrote:
> What happens if there are multiple producers? Could happen when 
> this would be used for the socket queue.

Then just serialize the producers against each other or try to decouple more.

In reality every communication can be modelled 
with a simple unidirectional pipe or set of pipes.

The rest is just historic overdesign (trying to reduce memory consumption, 
"more than one queue is useless"-paradigm etc.) biting us now.

And a pipe with single producer and a single consumer can be 
modelled with "lock less fifos" or "net channels", as Van Jacobson calls this.

Regards

Ingo Oeser
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to