Cc: Jens Axboe <jens.axboe@...>, Eduard - Gabriel Munteanu <eduard.munteanu@...>, Tom Zanussi <tzanussi@...>, <akpm@...>, <linux-kernel@...>, <righi.andrea@...>
ltt-relay.c in the LTTng project implements its own buffering scheme on
top of relay buffers. It does not have such limitation. Actually, it
does not need to disable interrupts. It uses atomic counters and cmpxchg
atomic ops to manage concurrency. You might want to have a look at it.
Mathieu
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--