All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Sergey Fedorov <serge.fdrv@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Timer list lock contention
Date: Wed, 29 Oct 2014 19:46:26 +0100	[thread overview]
Message-ID: <54513602.3090306@redhat.com> (raw)
In-Reply-To: <54511E21.10208@gmail.com>



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

      reply	other threads:[~2014-10-29 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 17:04 [Qemu-devel] Timer list lock contention Sergey Fedorov
2014-10-29 18:46 ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54513602.3090306@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=serge.fdrv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.