I'm trying to find a standard, safe and efficient mechanism to handle circular buffers.
Julien found this one which seems to be a good candidate : https://lwn.net/Articles/262464
https://wiki.linuxfoundation.org/realtime/documentation/technical_details/rcu