qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] main-loop: Unconditionally unlock iothread


From: Anthony Liguori
Subject: Re: [Qemu-devel] [RFC PATCH] main-loop: Unconditionally unlock iothread
Date: Thu, 04 Apr 2013 13:17:48 -0500
User-agent: Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

Peter Maydell <address@hidden> writes:

> On 4 April 2013 17:59, Anthony Liguori <address@hidden> wrote:
>> So I think this is a long way of saying:
>>
>> Reviewed-by: Anthony Liguori <address@hidden>
>
> Any chance we could update the commit message to include
> this more authoritative analysis?

Yes, please do.  I'm also not sure that just always dropping the lock is
the best strategy either.

I think a simple counter with a nice comment that explains why we need
to periodically drop the lock is a better solution as it gives a way to
experiment with the right value to ensure fairness between the threads
without having excessing lock acquisition/release.

Regards,

Anthony Liguori

>
> thanks
> -- PMM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]