Re: [Qemu-devel] [PATCH] linux-aio: Cancel BH if not needed

2016-06-16 Thread Stefan Hajnoczi
On Wed, Jun 15, 2016 at 01:16:42PM +0200, Kevin Wolf wrote: > linux-aio uses a BH in order to make sure that the remaining completions > are processed even in nested event loops of completion callbacks in > order to avoid deadlocks. > > There is no need, however, to have the BH overhead for the fi

Re: [Qemu-devel] [PATCH] linux-aio: Cancel BH if not needed

2016-06-15 Thread Paolo Bonzini
On 15/06/2016 13:16, Kevin Wolf wrote: > linux-aio uses a BH in order to make sure that the remaining completions > are processed even in nested event loops of completion callbacks in > order to avoid deadlocks. > > There is no need, however, to have the BH overhead for the first call > into qem