On Mon, Jan 17, 2022 at 11:12:12AM +0000, Haakon Bugge wrote: > > The way these queues work they can only hold 2^n - 1 entries. The > > reason for this is to distinguish empty and full. > > You can simply mitigate that by having free-running counters, right? That is generally the best design, with the cost of doing the & on every use of queue data vs only on ++ Jason