From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvo8G-0007Wb-Ax for qemu-devel@nongnu.org; Sun, 07 Jul 2013 08:32:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uvo8F-0003J0-2T for qemu-devel@nongnu.org; Sun, 07 Jul 2013 08:32:00 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50882 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvo8E-0003Ic-RS for qemu-devel@nongnu.org; Sun, 07 Jul 2013 08:31:58 -0400 Message-ID: <51D95FB9.5050605@suse.de> Date: Sun, 07 Jul 2013 14:31:53 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1373191217-3204-1-git-send-email-pingfank@linux.vnet.ibm.com> In-Reply-To: <1373191217-3204-1-git-send-email-pingfank@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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: Liu Ping Fan Cc: Kevin Wolf , Paolo Bonzini , qemu-devel@nongnu.org, Stefan Hajnoczi Am 07.07.2013 12:00, schrieb Liu Ping Fan: > From: Liu Ping Fan >=20 > 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. >=20 > Signed-off-by: Liu Ping Fan > Reviewed-by: Stefan Hajnoczi > --- > Repost it, and thanks Paolo for having sent pull request for the > atomics header that this patch depends on. Unlike the previous v5, From and Signed-off-by differ - intentional? Could probably be fixed up by Kevin if not. Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg