[Qemu-devel] Re: [PATCH 7/8] Add QLIST_INSERT_TAIL

2010-05-16 Thread Jan Kiszka
Paolo Bonzini wrote: > On 05/14/2010 03:20 PM, Jan Kiszka wrote: >> As the QLIST has not tail pointer, this requires list walking. Still >> useful when lists are short or insertion time doesn't matter. > > True, but why not switch to QTAIL instead? Would be more invasive, but I can do so if it's

[Qemu-devel] Re: [PATCH 7/8] Add QLIST_INSERT_TAIL

2010-05-16 Thread Paolo Bonzini
On 05/14/2010 03:20 PM, Jan Kiszka wrote: As the QLIST has not tail pointer, this requires list walking. Still useful when lists are short or insertion time doesn't matter. True, but why not switch to QTAIL instead? Paolo