All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhiyuan Shao" <zyshao.maillist@gmail.com>
To: p z <zpengxen@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Question about the current vcpu.
Date: Mon, 30 Mar 2009 16:22:28 +0800	[thread overview]
Message-ID: <200903301622260001827@gmail.com> (raw)
In-Reply-To: fce3faea0903271837s5efea0bao2dd2be93142e0ae@mail.gmail.com


[-- Attachment #1.1: Type: text/plain, Size: 812 bytes --]

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@lists.xensource.com 
抄送: 
主题: [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

[-- Attachment #1.2: Type: text/html, Size: 3577 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

      parent reply	other threads:[~2009-03-30  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-28  1:37 Question about the current vcpu p z
2009-03-28  5:16 ` Jeremy Fitzhardinge
2009-03-30  8:22 ` Zhiyuan Shao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200903301622260001827@gmail.com \
    --to=zyshao.maillist@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=zpengxen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.