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] xen-scheduler: runq_insert?

To: "Atsushi SAKAI" <sakaia@xxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] xen-scheduler: runq_insert?
From: "Apparao, Padmashree K" <padmashree.k.apparao@xxxxxxxxx>
Date: Sat, 28 Apr 2007 09:25:07 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 28 Apr 2007 09:24:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200704280556.l3S5uLjq009727@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceJWftEyeatOARiQba3ihbx83IEVQAVv0gA
Thread-topic: [Xen-devel] xen-scheduler: runq_insert?
Thanks for the clarification.
I am still not sure what the idle domain is.
I have dom0 and two other domains in my system. So they are numbered
0,1,2.
Does the idle domain mean that none of these domains are in a runnable
state? Or ..... 

Thanks
- Padma


-----Original Message-----
From: Atsushi SAKAI [mailto:sakaia@xxxxxxxxxxxxxx] 
Sent: Friday, April 27, 2007 10:56 PM
To: Apparao, Padmashree K
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] xen-scheduler: runq_insert?

Hi, Padma

7fff means idle domain.
anyway what do you mean "at the same time" ?

I suggest you to use xentrace to see the scheduler behavior.
like 
xentrace | xentrace_format tools/xentrace/formats

Thanks
Atsushi SAKAI


"Apparao, Padmashree K" <padmashree.k.apparao@xxxxxxxxx> wrote:

> Hello,
> 
>  
> 
> Can the runq_insert function in the xen-scheduler be called by two
> processors at the same time? I would like to modify some functionality
> for testing and want to know if I need to protect the variables I
> declare. I do not see a spinlock in when calling this function.
> 
>  
> 
> Another question. What is the domain_id  is7fff. I print the domain id
> in runq_insert and I see that sometimes the domain id is 7fff
> 
>  
> 
> Thanks
> 
> = Padma
> 
>  
> 
>  
> 
>  
> 

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

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