From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXwTv-0006Tj-2V for qemu-devel@nongnu.org; Mon, 12 Nov 2012 11:03:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXwTr-000188-Vr for qemu-devel@nongnu.org; Mon, 12 Nov 2012 11:03:26 -0500 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:59018 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXwTr-00017H-O6 for qemu-devel@nongnu.org; Mon, 12 Nov 2012 11:03:23 -0500 Date: Mon, 12 Nov 2012 20:03:10 +0400 (MSK) From: malc In-Reply-To: <1352723410-15705-1-git-send-email-pbonzini@redhat.com> Message-ID: References: <1352723410-15705-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] aio: fix aio_ctx_prepare with idle bottom halves List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Mon, 12 Nov 2012, Paolo Bonzini wrote: > Commit ed2aec4867f0d5f5de496bb765347b5d0cfe113d changed the return > value of aio_ctx_prepare from false to true when only idle bottom > halves are available. This broke PC old-style DMA, which uses them. > Fix this by making aio_ctx_prepare return true only when non-idle > bottom halves are scheduled to run. > Applied, thanks. [..snip..] -- mailto:av1474@comtv.ru