brb_next
unsigned int next = brb_next(brb, brb->end);
brb->begin = brb_next(brb, brb->begin);
i = brb_next(&smm->uncommitted, i)) {