Circular Buffers by David Howells and Paul E. McKenney (source code)

= Circular Buffers by David Howells and Paul E. McKenney
{c}
{tag=Work by David Howells}
{tag=Work by Paul E. McKenney}

By <David Howells> and <Paul E. McKenney>. The Linux Kernel documentation hosts this authored guide; no publication date is asserted.

https://docs.kernel.org/core-api/circular-buffers.html

Cited passages: What is a circular buffer?; Measuring power-of-2 buffers; Using memory barriers with circular buffers, including The producer and The Consumer. Its reserved-slot and synchronization conventions are specific to the presented implementation.