Re: SMP lockup in virtualized environment

2007-04-24 Thread Chris Snook
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

Re: SMP lockup in virtualized environment

2007-04-24 Thread Jeremy Fitzhardinge
LAPLACE Cyprien wrote: > 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

Re: SMP lockup in virtualized environment

2007-04-24 Thread Jeremy Fitzhardinge
LAPLACE Cyprien wrote: 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

Re: SMP lockup in virtualized environment

2007-04-24 Thread Chris Snook
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