All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Snook <csnook@redhat.com>
To: LAPLACE Cyprien <cyprien.laplace@trango-systems.com>
Cc: virtualization@lists.linux-foundation.org,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: SMP lockup in virtualized environment
Date: Tue, 24 Apr 2007 18:37:51 -0400	[thread overview]
Message-ID: <462E86BF.7010402@redhat.com> (raw)
In-Reply-To: <462E4223.1050109@trango-systems.com>

LAPLACE Cyprien wrote:
> An example: in kernel/pid.c:alloc_pid(), if one of the guest CPUs is
> descheduled when holding the pidmap_lock, what happens to the other
> guest CPUs who want to alloc/free pids ? Are they blocked too ?

Yup.  This is where it's really nice to have directed yields, where you tell the 
hypervisor to give your physical CPU time to the vcpu that's holding the lock 
you're blocking on.  I know s390 can do this.  Perhaps it's something worth 
generalizing in paravirt_ops?

	-- Chris

  parent reply	other threads:[~2007-04-24 22:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24 17:45 SMP lockup in virtualized environment LAPLACE Cyprien
2007-04-24 18:04 ` Jeremy Fitzhardinge
2007-04-24 18:04 ` Jeremy Fitzhardinge
2007-04-24 22:37 ` Chris Snook [this message]
2007-04-24 22:37 ` Chris Snook
  -- strict thread matches above, loose matches on Subject: below --
2007-04-24 17:45 LAPLACE Cyprien

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=462E86BF.7010402@redhat.com \
    --to=csnook@redhat.com \
    --cc=cyprien.laplace@trango-systems.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    /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.