qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Hajnoczi
Subject: Re: [Qemu-trivial] [PATCH 5/8] qemu-queue: really simplify QSIMPLEQ
Date: Tue, 3 Jan 2012 12:04:37 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jan 02, 2012 at 07:00:34PM +0100, 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.

<pedantic>QSIMPLEQ is no longer a queue if you cannot easily use it in a
FIFO manner.  A queue can efficiently push elements on one end and pop
them from the other end.</pedantic>

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]