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] Question about the current vcpu.

To: "p z" <zpengxen@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question about the current vcpu.
From: "Zhiyuan Shao" <zyshao.maillist@xxxxxxxxx>
Date: Mon, 30 Mar 2009 16:22:28 +0800
Cc:
Delivery-date: Mon, 30 Mar 2009 01:23:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:references :subject:message-id:x-mailer:mime-version:content-type; bh=Ri8CXzGWwfzdVMG3NccSk8yPaMwXLe1pTmj1+H5BBWE=; b=Qgoy40/xJ9k3o5LJ4wcpx3r5ofaWtIYOQUAPGg7AC5R5hP+siHfoXZs0Q4VUbD2jJH pfVmYh8M5wvdNx84liYTYBkHt0J+5VCVuhQFNotHkr2uOWOwb8WM1ABFz4xCWqthTQ0r dDMnlKmsMSwkw/4LUfQzHA1KM9MnavrcRomb0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:references:subject:message-id:x-mailer:mime-version :content-type; b=jv2JUU1yy2Ns1rWuA8pXSIWzVQI1RfavoldaKo+I9797dYGrlJd0HOM99MUgZPFz// mVqQiSfBnKbAj4sTISAX0bHCRG61+10GE5IkRbGKpGyTN8gy0GnM9uPFWU0CRxbgDiCa 30h3D3bu9DUnW20N5wGRLwm2joU1fznvvMiQM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
References: <fce3faea0903271837s5efea0bao2dd2be93142e0ae@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
 
Actually, defined by Credit scheduler, each PCPU (physical CPU, if you run Xen on a multi-core machine, you get multiple PCPUs) has its own runqueue, and its own current vcpu as well.
The PCPUs of the system makes their own scheduling decisions independently.
 
Best,
 
 
2009-03-30

Zhiyuan Shao

发件人: p z
发送时间: 2009-03-28  09:38:16
收件人: xen-devel@xxxxxxxxxxxxxxxxxxx
抄送:
主题: [Xen-devel] Question about the current vcpu.
Hi all,

 There is a macro current which may mean to get the current vcpu information.

 But  the physical machine may be multi-core ,thus there may be two or more vcpus running  in parallel on different cores.Then which vcpu is the current? How should  I understand the current vcpu please?
 
 Thanks.


Cheer,
--
zp

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>