__ptr_ring_zero_tail
__ptr_ring_zero_tail(r, consumer_head);
__ptr_ring_zero_tail(r, r->consumer_head);