On Wednesday 08 March 2006 00:13, David S. Miller wrote:
> From: Andi Kleen <[EMAIL PROTECTED]>
> Date: Tue, 7 Mar 2006 16:39:58 +0100
> 
> > Also the locking requirements would need to be defined. The originals
> > didn't have any locking at all.
> 
> You don't need any locking, just a producer and consumer index in
> seperate cache lines, and a wakeup protocol that makes sure
> events do not get missed.

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

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