[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] QEMUBH: make AioContext's bh re-entrant
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH v5] QEMUBH: make AioContext's bh re-entrant |
Date: |
Sun, 07 Jul 2013 14:31:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 |
Am 07.07.2013 12:00, schrieb Liu Ping Fan:
> From: Liu Ping Fan <address@hidden>
>
> 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 <address@hidden>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
> ---
> 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
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg