[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Timer list lock contention
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Timer list lock contention |
Date: |
Wed, 29 Oct 2014 19:46:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 10/29/2014 06:04 PM, Sergey Fedorov wrote:
> Hi!
>
> I am wondering is there any case when timer list lock could be under
> contention?
Most of the time, the timer list is accessed under the "big QEMU lock"
(qemu_mutex_lock_iothread/qemu_mutext_unlock_iothread), so the timer
list lock itself shouldn't have contention at all.
That said, there are plans to decrease the cost of the lock by not
taking it at all in some cases.
Paolo