Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-10-01 Thread Igor Redko
On 29.09.2015 11:47, Dr. David Alan Gilbert wrote: * Igor Redko (red...@virtuozzo.com) wrote: On Пт., 2015-09-25 at 17:46 +0800, Wen Congyang wrote: On 09/25/2015 05:09 PM, Denis V. Lunev wrote: Release qemu global mutex before call synchronize_rcu(). synchronize_rcu() waiting for all readers

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-09-29 Thread Dr. David Alan Gilbert
* Igor Redko (red...@virtuozzo.com) wrote: > On Пт., 2015-09-25 at 17:46 +0800, Wen Congyang wrote: > > On 09/25/2015 05:09 PM, Denis V. Lunev wrote: > > > Release qemu global mutex before call synchronize_rcu(). > > > synchronize_rcu() waiting for all readers to finish their critical > > > section

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-09-28 Thread Igor Redko
On Пн., 2015-09-28 at 13:55 +0300, Igor Redko wrote: > On Пт., 2015-09-25 at 17:46 +0800, Wen Congyang wrote: > > On 09/25/2015 05:09 PM, Denis V. Lunev wrote: > > > Release qemu global mutex before call synchronize_rcu(). > > > synchronize_rcu() waiting for all readers to finish their critical > >

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-09-28 Thread Igor Redko
On Пт., 2015-09-25 at 17:46 +0800, Wen Congyang wrote: > On 09/25/2015 05:09 PM, Denis V. Lunev wrote: > > Release qemu global mutex before call synchronize_rcu(). > > synchronize_rcu() waiting for all readers to finish their critical > > sections. There is at least one critical section in which we

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-09-25 Thread Wen Congyang
On 09/25/2015 05:09 PM, Denis V. Lunev wrote: > Release qemu global mutex before call synchronize_rcu(). > synchronize_rcu() waiting for all readers to finish their critical > sections. There is at least one critical section in which we try > to get QGM (critical section is in address_space_rw() an

[Qemu-devel] [PATCH v2 0/2] migration: fix deadlock

2015-09-25 Thread Denis V. Lunev
Release qemu global mutex before call synchronize_rcu(). synchronize_rcu() waiting for all readers to finish their critical sections. There is at least one critical section in which we try to get QGM (critical section is in address_space_rw() and prepare_mmio_access() is trying to aquire QGM). Bot