[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHmME9qPYL-wzyX0Q7RG7Uk9kAeWbzNN5=0YrmbniUR2O3rSxA@mail.gmail.com>
Date: Wed, 4 Oct 2017 13:18:24 +0200
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Netdev <netdev@...r.kernel.org>,
Samuel Holland <samuel@...lland.org>,
WireGuard mailing list <wireguard@...ts.zx2c4.com>
Subject: multi producer / multi consumer lock-free queue with ptr_ring
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
Powered by blists - more mailing lists