* [Qemu-devel] Timer list lock contention
@ 2014-10-29 17:04 Sergey Fedorov
2014-10-29 18:46 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Sergey Fedorov @ 2014-10-29 17:04 UTC (permalink / raw)
To: qemu-devel
Hi!
I am wondering is there any case when timer list lock could be under
contention?
Thanks,
Serge
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Timer list lock contention
2014-10-29 17:04 [Qemu-devel] Timer list lock contention Sergey Fedorov
@ 2014-10-29 18:46 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2014-10-29 18:46 UTC (permalink / raw)
To: Sergey Fedorov, qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-29 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29 17:04 [Qemu-devel] Timer list lock contention Sergey Fedorov
2014-10-29 18:46 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).