[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: |
liu ping fan |
Subject: |
Re: [Qemu-devel] [PATCH v5] QEMUBH: make AioContext's bh re-entrant |
Date: |
Mon, 8 Jul 2013 09:58:28 +0800 |
On Sun, Jul 7, 2013 at 8:31 PM, Andreas Färber <address@hidden> wrote:
> 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.
>
Change the unwanted notes after the scissor line, and it is just a
reminder about dependency of this patch.
Regards,
Pingfan
> 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