]> git.proxmox.com Git - qemu.git/commit - qemu-queue.h
qemu-queue: drop QCIRCLEQ
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Jan 2012 16:34:03 +0000 (17:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 17 Feb 2012 14:33:33 +0000 (08:33 -0600)
commitcf904cfa7cf8fcd54ca4ad756e26997d1e7383fb
treee8e8d7d9333fb382d12a39c3661702d269d3f1ac
parent6095aa88e4cec8ea0af3944ffc0e667d04d47362
qemu-queue: drop QCIRCLEQ

The main advantage of circular lists (the fact that the head node
has the same memory layout as any other node) is completely negated
by the implementation in qemu-queue.h.  Not surprisingly, nobody
uses QCIRCLEQ.  While this might change if RCU is ever adopted by
QEMU, the QLIST is also RCU-friendly and in fact it is used in a
RCU-like manner by 9pfs already.  So, just kill QCIRCLEQ.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-queue.h