Re: [Qemu-devel] [PATCH 5/8] qemu-queue: really simplify QSIMPLEQ

2012-01-13 Thread Peter Maydell
On 2 January 2012 18:00, Paolo Bonzini wrote: > QSIMPLEQ is still relatively heavyweight when used as a free list, > compared to a simple singly-linked list.  One disadvantage is that > it requires an initializer macro, unlike for example QLIST. > > The patch removes the double links so that there

[Qemu-devel] [PATCH 5/8] qemu-queue: really simplify QSIMPLEQ

2012-01-02 Thread Paolo Bonzini
QSIMPLEQ is still relatively heavyweight when used as a free list, compared to a simple singly-linked list. One disadvantage is that it requires an initializer macro, unlike for example QLIST. The patch removes the double links so that there is a "really really simple" queue type. Signed-off-by: