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
The PCPUs of the system makes their own scheduling
发件人： p z
发送时间： 2009-03-28 09:38:16
主题： [Xen-devel] Question about
the current vcpu.
There is a macro current
which may mean to get the current vcpu information.
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?