public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SMP lockup in virtualized environment
@ 2007-04-24 17:45 LAPLACE Cyprien
  2007-04-24 18:04 ` Jeremy Fitzhardinge
  2007-04-24 22:37 ` Chris Snook
  0 siblings, 2 replies; 3+ messages in thread
From: LAPLACE Cyprien @ 2007-04-24 17:45 UTC (permalink / raw)
  To: virtualization; +Cc: Linux Kernel, Jeremy Fitzhardinge

In a previous mail, Jeremy Fitzhardinge wrote:
> The softlockup watchdog is currently a nuisance in a virtual machine,
> since the whole system could have the CPU stolen from it for a long
> period of time.  While it would be unlikely for a guest domain to be
> denied timer interrupts for over 10s, it could happen and any
> softlockup message would be completely spurious.

I wonder how the guest domain can be denied timer interrupts for such a
long time ? The only reason I see is that the guest domain is not
scheduled at all (host domain or another higher priority guest running).

Now in SMP host and guest, what happens if a guest CPU is not scheduled
for a while ?

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 ?


-- 
Cyprien Laplace


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-24 22:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 17:45 SMP lockup in virtualized environment LAPLACE Cyprien
2007-04-24 18:04 ` Jeremy Fitzhardinge
2007-04-24 22:37 ` Chris Snook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox