Re: [Qemu-devel] [PATCH v3 0/5] coroutine-lock: polymorphic CoQueue

2018-01-29 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20180125175949.7780-1-pbonz...@redhat.com Subject: [Qemu-devel] [PATCH v3 0/5] coroutine-lock: polymorphic CoQueue === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total

Re: [Qemu-devel] [PATCH v3 0/5] coroutine-lock: polymorphic CoQueue

2018-01-25 Thread Eric Blake
On 01/25/2018 11:59 AM, Paolo Bonzini wrote: > There are cases in which a queued coroutine must be restarted from > non-coroutine context (with qemu_co_enter_next). In this cases, > qemu_co_enter_next also needs to be thread-safe, but it cannot use a > CoMutex and so cannot qemu_co_queue_wait. Th

[Qemu-devel] [PATCH v3 0/5] coroutine-lock: polymorphic CoQueue

2018-01-25 Thread Paolo Bonzini
There are cases in which a queued coroutine must be restarted from non-coroutine context (with qemu_co_enter_next). In this cases, qemu_co_enter_next also needs to be thread-safe, but it cannot use a CoMutex and so cannot qemu_co_queue_wait. This happens in curl (which right now is rolling its ow