ring buffer in kernel/hardware