Re: [Qemu-devel] [PATCH v5 00/10] aio_context_acquire/release pushdown, part 1

2017-01-13 Thread Stefan Hajnoczi
On Thu, Jan 12, 2017 at 07:07:50PM +0100, Paolo Bonzini wrote: > This is the first step of pushing down the AioContext lock. Bottom halves > are already protected by their own lock, use it also for walking_bh > and for the handlers list (including walking_handlers). The (lock, > walking_foo) pair

Re: [Qemu-devel] [PATCH v5 00/10] aio_context_acquire/release pushdown, part 1

2017-01-12 Thread Fam Zheng
On Thu, 01/12 19:07, Paolo Bonzini wrote: > This is the first step of pushing down the AioContext lock. Bottom halves > are already protected by their own lock, use it also for walking_bh > and for the handlers list (including walking_handlers). The (lock, > walking_foo) pair is wrapped into the

[Qemu-devel] [PATCH v5 00/10] aio_context_acquire/release pushdown, part 1

2017-01-12 Thread Paolo Bonzini
This is the first step of pushing down the AioContext lock. Bottom halves are already protected by their own lock, use it also for walking_bh and for the handlers list (including walking_handlers). The (lock, walking_foo) pair is wrapped into the QemuLockCnt primitive. The only difference from v