WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] dom0 hang

To: "mukesh.rathor@xxxxxxxxxx" <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] dom0 hang
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 02 Jul 2009 08:18:43 +0100
Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, andrew thomas <andrew.thomas@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, "Kurt C. Hackel" <kurt.hackel@xxxxxxxxxx>, "ackaouy@xxxxxxxxx" <ackaouy@xxxxxxxxx>
Delivery-date: Thu, 02 Jul 2009 00:19:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A4C2743.5030703@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn6xAUJZ+f1zu4qS6mOnFA82V4opQAIU+G1
Thread-topic: [Xen-devel] dom0 hang
User-agent: Microsoft-Entourage/12.19.0.090515
On 02/07/2009 04:19, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>