On 01/13/2012 10:34 AM, Paolo Bonzini wrote:
These patches slighly change the assortment of lists provided by
qemu-queue. QCIRCLEQ is dropped, since it provides no real advantage
over QTAILQ (and in fact is unused). QSLIST is introduced and used for
free lists.
QSIMPLEQ is left in, since it provides some memory saving over QTAILQ.
Stefan, these are a bit borderline for qemu-trivial. Let me know
if they're fine.
Applied 1-4 since 5 introduced a regression. Thanks.
Regards,
Anthony Liguori
Paolo Bonzini (5):
notifier: switch to QLIST
qemu-queue: add QSLIST
qemu-queue: drop QCIRCLEQ
coroutine: switch to QSLIST
block: use QSLIST for the AIO free list
v1->v2: leave QSIMPLEQ in, add QSLIST (Peter)
block.c | 9 +-
block_int.h | 4 +-
coroutine-ucontext.c | 10 +-
input.c | 2 +-
migration.c | 2 +-
notify.c | 10 +-
notify.h | 8 +-
qemu-coroutine-int.h | 2 +-
qemu-queue.h | 205 +++++++++++++++++++++-----------------------------
qemu-timer.c | 2 +-
vl.c | 2 +-
11 files changed, 110 insertions(+), 146 deletions(-)