From: Keir Fraser Subject: Re: dom0 hang Date: Thu, 02 Jul 2009 08:18:43 +0100 Message-ID: References: <4A4C2743.5030703@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A4C2743.5030703@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "mukesh.rathor@oracle.com" Cc: Dan Magenheimer , xen-devel , andrew thomas , George Dunlap , "Kurt C. Hackel" , "ackaouy@gmail.com" List-Id: xen-devel@lists.xenproject.org On 02/07/2009 04:19, "Mukesh Rathor" wrote: > Looks like c/s 19500 changed csched_schedule(): > > - ret.time = MILLISECS(CSCHED_MSECS_PER_TSLICE); > + ret.time = (is_idle_vcpu(snext->vcpu) ? > + -1 : MILLISECS(CSCHED_MSECS_PER_TSLICE)); > > The quickest fix for us would be to just back that out. The wakeup should come via __runq_tickle(), I think. Anyhow I don't see this can be the main underlying bug. What if you were running on a uniprocessor system - you'd still be boned then, right? I've added George Dunlap to the Cc list by the way. He's doing a bunch of scheduler work at the moment. -- Keir