Development discussion of WireGuard
 help / color / mirror / Atom feed
* multi producer / multi consumer lock-free queue with ptr_ring
@ 2017-10-04 11:18 Jason A. Donenfeld
  2017-10-04 16:23 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Jason A. Donenfeld @ 2017-10-04 11:18 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: Netdev, LKML, WireGuard mailing list

Hey Michael,

Thanks for your work on ptr_ring.h. I'm interested in using it, but in
a multi-producer, multi-consumer context. I realize it's been designed
for a single-producer, single-consumer context, and thus uses a
spinlock. I'm wondering if you'd be happy to receive patches that
implement things in a lock-free way, in order to make the data
structure more broadly usable.

In case you're curious, this would be used for the multi-core
algorithms in WireGuard.

Thanks,
Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-04 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-04 11:18 multi producer / multi consumer lock-free queue with ptr_ring Jason A. Donenfeld
2017-10-04 16:23 ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).