From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6kI-0001VR-Kn for qemu-devel@nongnu.org; Fri, 05 Jul 2013 10:12:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv6kH-000576-ID for qemu-devel@nongnu.org; Fri, 05 Jul 2013 10:12:22 -0400 Received: from mail-ve0-x229.google.com ([2607:f8b0:400c:c01::229]:42530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6kH-00056z-Ev for qemu-devel@nongnu.org; Fri, 05 Jul 2013 10:12:21 -0400 Received: by mail-ve0-f169.google.com with SMTP id m1so1828058ves.14 for ; Fri, 05 Jul 2013 07:12:21 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51D6D43B.7030309@redhat.com> Date: Fri, 05 Jul 2013 16:12:11 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1372181185-3595-1-git-send-email-pingfank@linux.vnet.ibm.com> <20130625094021.GA3539@dhcp-200-207.str.redhat.com> <20130705134625.GA22736@stefanha-thinkpad.redhat.com> In-Reply-To: <20130705134625.GA22736@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5] QEMUBH: make AioContext's bh re-entrant List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Stefan Hajnoczi , liu ping fan , Anthony Liguori , qemu-devel@nongnu.org Il 05/07/2013 15:46, Stefan Hajnoczi ha scritto: > On Wed, Jun 26, 2013 at 05:46:11PM +0800, liu ping fan wrote: >> On Tue, Jun 25, 2013 at 5:40 PM, Kevin Wolf wrote: >>> Am 25.06.2013 um 19:26 hat Liu Ping Fan geschrieben: >>>> BH will be used outside big lock, so introduce lock to protect >>>> between the writers, ie, bh's adders and deleter. The lock only >>>> affects the writers and bh's callback does not take this extra lock. >>>> Note that for the same AioContext, aio_bh_poll() can not run in >>>> parallel yet. >>>> >>>> Signed-off-by: Liu Ping Fan >>>> >>>> --------- >>> >>> Please use exactly three dashes so that 'git am' recognises it as the >>> end of the commit message. >>> >> Sorry, I will notice at the next time. Should I re-post it? > > Hi Ping Fan, > I'm revisiting this patch but already sent the block pull request for > this week. Therefore I suggest you repost - that will make it easier > for Kevin to find the patch on the list next week when he's merging > patches. In the meanwhile, I've sent a pull request for the atomics header that this patch depends on. Paolo